...
|
...
|
@@ -86,13 +86,19 @@ exports.getOutletsIndexData = (params, channel) => { |
|
|
}
|
|
|
|
|
|
// 获取底部商品数据
|
|
|
return api.all([
|
|
|
outletsApi.getOutletsGoodsList(Object.assign(
|
|
|
if (!params.msort || !params.misort) {
|
|
|
Object.assign(
|
|
|
params,
|
|
|
{limit: params.limit || '100', channel: channel, method: 'app.search.category',
|
|
|
{
|
|
|
msort: finalResult.goodsBoard.goodsMenu.msort.join(','),
|
|
|
misort: finalResult.goodsBoard.goodsMenu.misort.join(',')
|
|
|
}
|
|
|
)
|
|
|
}
|
|
|
return api.all([
|
|
|
outletsApi.getOutletsGoodsList(Object.assign(
|
|
|
params,
|
|
|
{limit: params.limit || '100', channel: channel, method: 'app.search.category'}
|
|
|
))
|
|
|
]).then(data => {
|
|
|
// 处理底部商品数据
|
...
|
...
|
|