...
|
...
|
@@ -51,8 +51,8 @@ exports.getSearchData = (params, channel) => { |
|
|
|
|
|
// 获取商品数据和顶部筛选条件
|
|
|
if (result[2].code === 200) {
|
|
|
Object.assign(
|
|
|
finalResult.search, searchHandler.handlePathNavData({total: result[2].data.total }, params, 'search'),
|
|
|
Object.assign(finalResult.search,
|
|
|
searchHandler.handlePathNavData({total: result[2].data.total }, params, 'search', channel),
|
|
|
{
|
|
|
filters: searchHandler.handleFilterDataAll(result[2].data, params),
|
|
|
opts: searchHandler.handleOptsData(params, result[2].data.total, result[2].data.filter),
|
...
|
...
|
@@ -60,7 +60,7 @@ exports.getSearchData = (params, channel) => { |
|
|
footPager: searchHandler.handlePagerData(result[2].data.total, params),
|
|
|
goods: productProcess.processProductList(result[2].data.product_list,
|
|
|
Object.assign({showDiscount: false}, params)),
|
|
|
latestWalk: 7,
|
|
|
latestWalk: 6,
|
|
|
hasNextPage: searchHandler.handleNextPage(params, result[2].data.total),
|
|
|
shopEntry: result[3]
|
|
|
});
|
...
|
...
|
|