Showing
1 changed file
with
2 additions
and
2 deletions
@@ -8,11 +8,11 @@ | @@ -8,11 +8,11 @@ | ||
8 | 8 | ||
9 | const helpers = global.yoho.helpers; | 9 | const helpers = global.yoho.helpers; |
10 | 10 | ||
11 | -exports.getUrlData = function(type, gender) { | 11 | +exports.getUrlData = function(type) { |
12 | const urlData = { | 12 | const urlData = { |
13 | indexUrl: helpers.urlFormat('/?go=1'), // 首页 | 13 | indexUrl: helpers.urlFormat('/?go=1'), // 首页 |
14 | categoryUrl: helpers.urlFormat('/cate'), // 分类 | 14 | categoryUrl: helpers.urlFormat('/cate'), // 分类 |
15 | - guangUrl: helpers.urlFormat('/guang', gender ? {gender: gender} : null), // 逛首页 | 15 | + guangUrl: helpers.urlFormat('/guang'), // 逛首页 |
16 | shoppingCartUrl: helpers.urlFormat('/cart/index/index'), // 购物车 | 16 | shoppingCartUrl: helpers.urlFormat('/cart/index/index'), // 购物车 |
17 | mineUrl: helpers.urlFormat('/home') // 个人中心 | 17 | mineUrl: helpers.urlFormat('/home') // 个人中心 |
18 | }; | 18 | }; |
-
Please register or login to post a comment