Authored by 姜枫

fix 店铺人气单品跳转

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