Authored by 郭成尧

'最新降价saletype'

... ... @@ -709,7 +709,7 @@ exports.handleSaleCategoryData = (origin, saleType, channel, breakingSizeSort) =
break;
case '3':
dest.title = '最新降价';
urlLocation.url = '?saleType=' + saleType + '&order=s_t_desc&channel=' + channel;
urlLocation.url = '?saleType=0&order=s_t_desc&channel=' + channel;
urlLocation.limit = 14;
dest.urlLocation = dest.navItem[0].urlLocation = urlLocation.url + `&limit=${urlLocation.limit}`;
break;
... ...
... ... @@ -114,7 +114,7 @@ exports.getSaleGoodsData = (params) => {
vipPicture: true // 为了处理首页最后一张图片
});
break;
case '3':
case '0':
finalResult.goods.push({
thumb: 'http://img02.yohoboys.com/staticimg/2016/06/06/15/02161115728d763520bd4695d2530b2132.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90',
url: '/product/sale/newSale?channel=' + params.channel
... ... @@ -186,6 +186,7 @@ exports.getSaleIndexData = (channel) => {
)
);
}
// 最新降价分类处理
if (result[5].code === 200) {
... ...