Authored by 周少峰

last walk

... ... @@ -92,7 +92,10 @@ exports.getListData = (params, channel) => {
totalCount: result[2].data.total,
footPager: searchHandler.handlePagerData(result[2].data.total, params),
goods: productProcess.processProductList(result[2].data.product_list,
Object.assign({showDiscount: false}, params))
Object.assign({showDiscount: false}, params)),
// 最近浏览记录
latestWalk: 7,
});
}
... ... @@ -153,7 +156,10 @@ exports.getListNewData = (params, channel) => {
totalCount: result[2].data.total,
footPager: searchHandler.handlePagerData(result[2].data.total, params),
goods: productProcess.processProductList(result[2].data.product_list,
Object.assign({showDiscount: false}, params))
Object.assign({showDiscount: false}, params)),
// 最近浏览记录
latestWalk: 7,
});
}
... ... @@ -239,7 +245,10 @@ exports.getBrandData = (params, extra, channel) => {
totalCount: result[2].data.total,
footPager: searchHandler.handlePagerData(result[2].data.total, params),
goods: productProcess.processProductList(result[2].data.product_list,
Object.assign({showDiscount: false}, params))
Object.assign({showDiscount: false}, params)),
// 最近浏览记录
latestWalk: 7,
});
}
... ...
... ... @@ -549,7 +549,7 @@ exports.handleFilterData = (origin, params, total) => {
checked: params.price === key,
href: handleFilterUrl(params, {price: key}),
name: value,
order: +key.split(",")[0]
order: +key.split(',')[0]
};
dest.price.push(price);
... ...