Authored by 郭成尧

guang-url

... ... @@ -8,11 +8,11 @@
const helpers = global.yoho.helpers;
exports.getUrlData = function(type, gender) {
exports.getUrlData = function(type) {
const urlData = {
indexUrl: helpers.urlFormat('/?go=1'), // 首页
categoryUrl: helpers.urlFormat('/cate'), // 分类
guangUrl: helpers.urlFormat('/guang', gender ? {gender: gender} : null), // 逛首页
guangUrl: helpers.urlFormat('/guang'), // 逛首页
shoppingCartUrl: helpers.urlFormat('/cart/index/index'), // 购物车
mineUrl: helpers.urlFormat('/home') // 个人中心
};
... ...