Showing
1 changed file
with
21 additions
and
1 deletions
@@ -19,5 +19,25 @@ exports.index = (req, res, next) => { | @@ -19,5 +19,25 @@ exports.index = (req, res, next) => { | ||
19 | // } | 19 | // } |
20 | // }).catch(next); | 20 | // }).catch(next); |
21 | 21 | ||
22 | - res.render('index', params); | 22 | + res.render('index', { |
23 | + myIndexPage: 1, | ||
24 | + showDownloadApp: 1, | ||
25 | + navHome: 1, | ||
26 | + notice:[], | ||
27 | + pageFooter: 1, | ||
28 | + cartUrl: '//m.dev.yohobuy.com/cart/index/index', | ||
29 | + signinUrl: '//m.dev.yohobuy.com/signin.html?refer=%2F%2Fm.dev.yohobuy.com%2Fhome', | ||
30 | + isLogin: 1, | ||
31 | + wait_pay_num: 0, | ||
32 | + wait_cargo_num: 0, | ||
33 | + send_cargo_num: 0, | ||
34 | + brand_favorite_total: 0, | ||
35 | + product_favorite_total: 0, | ||
36 | + inbox_total: 0, | ||
37 | + comment_total: 0, | ||
38 | + refund_exchange_num: 0, | ||
39 | + yoho_coin_num: 0, | ||
40 | + coupon_num: 0, | ||
41 | + product_browse: 0 | ||
42 | + }); | ||
23 | }; | 43 | }; |
-
Please register or login to post a comment