...
|
...
|
@@ -41,8 +41,8 @@ exports.getOutletsIndexData = (params, channel) => { |
|
|
outletsApi.getOutletsActivityOrigin({type: '1', channel: channel}), // 获取限时活动列表
|
|
|
outletsApi.getOutletsActivityOrigin({type: '2', channel: channel}), // 获取即将结束列表
|
|
|
outletsApi.getOutletsTrendData({limit: '30'}), // 获取潮流速递商品数据
|
|
|
outletsApi.getOutletsGoodsList({limit: params.limit || '100'}) // 获取底部商品数据
|
|
|
|
|
|
outletsApi.getOutletsGoodsList({limit: params.limit || '100'}), // 获取底部商品数据
|
|
|
outletsApi.getOutletsActivityOrigin({type: '3', channel: channel}) // tar add 16171552 即将上线数据
|
|
|
]).then(result => {
|
|
|
let finalResult = {};
|
|
|
|
...
|
...
|
@@ -83,6 +83,11 @@ exports.getOutletsIndexData = (params, channel) => { |
|
|
finalResult.pager = publicHandler.handleSalePagerData(result[5].data.total, params);
|
|
|
}
|
|
|
|
|
|
// 处理即将上架品牌数据
|
|
|
if (result[6].code === 200) {
|
|
|
finalResult.limitedBuy.extra.comeSoon = outletsProcess.handleComeSoonData(result[6].data);
|
|
|
}
|
|
|
|
|
|
return finalResult;
|
|
|
});
|
|
|
};
|
...
|
...
|
|