...
|
...
|
@@ -59,6 +59,8 @@ function _getShopData(channel, params, shopInfo) { |
|
|
params.domain && delete params.domain;
|
|
|
params.shopId && delete params.shopId;
|
|
|
|
|
|
resData.shopBaseUrl = baseUrl;
|
|
|
|
|
|
return co(function* () {
|
|
|
let result = yield Promise.props({
|
|
|
header: headerModel.requestHeaderData(channel), // 头部数据
|
...
|
...
|
@@ -110,7 +112,7 @@ function _getShopData(channel, params, shopInfo) { |
|
|
showDiscount: false,
|
|
|
gender: gender
|
|
|
}),
|
|
|
href: `/product/shoplist?navBar=1&shopId=${shopId}`
|
|
|
href: `${baseUrl}/nb1`
|
|
|
};
|
|
|
|
|
|
_.set(allGoods, 'sort.newPage', true); // 启用新的分页导航
|
...
|
...
|
@@ -435,7 +437,10 @@ function _getShopListData(channel, params, shopInfo) { |
|
|
{shop_id: shopId, query: ''}), 'shop') : Promise.resolve({})
|
|
|
});
|
|
|
|
|
|
let resData = {headerData: Object.assign(result.header.headerData, {header: true})};
|
|
|
let resData = {
|
|
|
headerData: Object.assign(result.header.headerData, {header: true}),
|
|
|
shopBaseUrl: baseUrl
|
|
|
};
|
|
|
let shopName = '';
|
|
|
|
|
|
// 店铺装修
|
...
|
...
|
|