...
|
...
|
@@ -250,7 +250,7 @@ exports.getSaleOthersData = (params, channel) => { |
|
|
// 处理排序数据
|
|
|
finalResult.opts = publicHandler.handleSaleOptsData(params, result[1].data.total);
|
|
|
finalResult.totalCount = result[1].data.total;
|
|
|
finalResult.pager = publicHandler.handleSalePagerData(result[1].data.total, params);
|
|
|
finalResult.footPager = publicHandler.handlePagerData(result[1].data.total, params);
|
|
|
|
|
|
// 处理所有商品标题数据
|
|
|
finalResult.saleTitle = {
|
...
|
...
|
@@ -327,7 +327,7 @@ exports.getSaleDiscountData = (params, channel) => { |
|
|
Object.assign(finalResult, {
|
|
|
leftContent: publicHandler.handleSaleSortData(result[1].data.filter.group_sort, params, 'discount'),
|
|
|
saleList: {
|
|
|
pager: publicHandler.handleSalePagerData(result[1].data.total, params),
|
|
|
footPager: publicHandler.handlePagerData(result[1].data.total, params),
|
|
|
opts: publicHandler.handleSaleOptsData(params, result[1].data.total)
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -425,7 +425,7 @@ exports.getSalebreakingYardsData = (params, channel) => { |
|
|
goods: productProcess.processProductList(subResult[1].data.product_list),
|
|
|
opts: publicHandler.handleSaleOptsData(params, subResult[1].data.total),
|
|
|
totalCount: subResult[1].data.total,
|
|
|
pager: publicHandler.handleSalePagerData(subResult[1].data.total, params)
|
|
|
footPager: publicHandler.handlePagerData(subResult[1].data.total, params)
|
|
|
});
|
|
|
|
|
|
// 处理所有商品标题数据
|
...
|
...
|
|