Authored by yyq

fix shop

... ... @@ -613,7 +613,7 @@ exports.setShopSort = (data, params) => {
if (list.length) {
resData.goodsMenu = {
menuList: list,
url: `/product/shoplist?navBar=1&shopId=${params.shopId}`
url: `${params.baseUrl}?navBar=1`
};
}
}
... ...
... ... @@ -130,7 +130,7 @@ function _getShopData(channel, params, shopInfo) {
if (resData.allGoods) {
Object.assign(resData.allGoods, searchHandler.setShopSort(groupSort, Object.assign({},
params, {page: 1})), searchHandler.setGenderFilter(params));
params, {baseUrl, page: 1})), searchHandler.setGenderFilter(params));
}
}
... ...