|
@@ -94,7 +94,7 @@ exports.getOutletsIndexData = (params, channel) => { |
|
@@ -94,7 +94,7 @@ exports.getOutletsIndexData = (params, channel) => { |
94
|
}
|
94
|
}
|
95
|
}
|
95
|
}
|
96
|
|
96
|
|
97
|
- finalResult.pager = publicHandler.handleSalePagerData(result[5].data.total, params);
|
97
|
+ finalResult.goodsBoard.pager = publicHandler.handleSalePagerData(result[5].data.total, params);
|
98
|
}
|
98
|
}
|
99
|
|
99
|
|
100
|
// 处理即将上架品牌数据
|
100
|
// 处理即将上架品牌数据
|
|
@@ -148,6 +148,7 @@ exports.getOutletsChannelData = (params, channel) => { |
|
@@ -148,6 +148,7 @@ exports.getOutletsChannelData = (params, channel) => { |
148
|
};
|
148
|
};
|
149
|
|
149
|
|
150
|
Object.assign(channelData, finalResult);
|
150
|
Object.assign(channelData, finalResult);
|
|
|
151
|
+
|
151
|
// 资源楼层
|
152
|
// 资源楼层
|
152
|
if (result[1].code === 200) {
|
153
|
if (result[1].code === 200) {
|
153
|
Object.assign(channelData, outletsProcess.processFloor(result[1].data.list, params));
|
154
|
Object.assign(channelData, outletsProcess.processFloor(result[1].data.list, params));
|
|
@@ -164,7 +165,7 @@ exports.getOutletsChannelData = (params, channel) => { |
|
@@ -164,7 +165,7 @@ exports.getOutletsChannelData = (params, channel) => { |
164
|
channelData.goodsBoard.sort = publicHandler.handleSaleOptsData(params, result[3].data.total);
|
165
|
channelData.goodsBoard.sort = publicHandler.handleSaleOptsData(params, result[3].data.total);
|
165
|
channelData.goodsBoard.sort.newPage = true;
|
166
|
channelData.goodsBoard.sort.newPage = true;
|
166
|
channelData.goodsBoard.list = productProcess.processProductList(result[3].data.product_list);
|
167
|
channelData.goodsBoard.list = productProcess.processProductList(result[3].data.product_list);
|
167
|
- channelData.pager = publicHandler.handleSalePagerData(result[3].data.total, params);
|
168
|
+ channelData.goodsBoard.pager = publicHandler.handleSalePagerData(result[3].data.total, params);
|
168
|
|
169
|
|
169
|
// 添加锚点
|
170
|
// 添加锚点
|
170
|
if (channelData.goodsBoard.sort.sortType) {
|
171
|
if (channelData.goodsBoard.sort.sortType) {
|