Authored by 郝肖肖

'fix'

@@ -9,6 +9,9 @@ exports.category = (req, res, next) => { @@ -9,6 +9,9 @@ exports.category = (req, res, next) => {
9 let uid = req.user.uid || req.query.uid; 9 let uid = req.user.uid || req.query.uid;
10 let params = { 10 let params = {
11 uid: uid, 11 uid: uid,
  12 + port: 1,
  13 + channel: req.query.channel,
  14 + season: req.query.season,
12 isApp: req.yoho.isApp, 15 isApp: req.yoho.isApp,
13 scene: req.query.scene || 1 16 scene: req.query.scene || 1
14 }; 17 };
@@ -42,6 +45,9 @@ exports.shop = (req, res, next) => { @@ -42,6 +45,9 @@ exports.shop = (req, res, next) => {
42 let uid = req.user.uid || req.query.uid; 45 let uid = req.user.uid || req.query.uid;
43 let params = { 46 let params = {
44 uid: uid, 47 uid: uid,
  48 + port: 1,
  49 + channel: req.query.channel,
  50 + season: req.query.season,
45 isApp: req.yoho.isApp, 51 isApp: req.yoho.isApp,
46 scene: req.query.scene || 1 52 scene: req.query.scene || 1
47 }; 53 };
@@ -78,7 +78,9 @@ class TideModel extends global.yoho.BaseModel { @@ -78,7 +78,9 @@ class TideModel extends global.yoho.BaseModel {
78 crmRecommendShop(params) { 78 crmRecommendShop(params) {
79 return this.get({ 79 return this.get({
80 data: Object.assign({ 80 data: Object.assign({
81 - method: 'app.product.crmRecommend.shop' 81 + method: 'app.product.crmRecommend.shop',
  82 + imageType: 2,
  83 + imageSize: '314*352',
82 }, params) 84 }, params)
83 }); 85 });
84 } 86 }