...
|
...
|
@@ -276,9 +276,10 @@ const shop = { |
|
|
},
|
|
|
shopHotList(req, res, next) {
|
|
|
let skns = req.query.skns;
|
|
|
let isApp = req.query.app_version || req.query.appVersion || false;
|
|
|
|
|
|
return listModel.searchProductBySkn(skns).then(hotList => {
|
|
|
hotList = productProcess.processProductList(hotList, {isApp: req.yoho.isApp});
|
|
|
hotList = productProcess.processProductList(hotList, {isApp: isApp});
|
|
|
_.forEach(hotList, (value, key) => {
|
|
|
hotList[key].tags = {};
|
|
|
hotList[key].is_soon_sold_out = false;
|
...
|
...
|
|