Authored by 郭成尧

client_id

@@ -267,7 +267,8 @@ const payAli = (req, res, next) => { @@ -267,7 +267,8 @@ const payAli = (req, res, next) => {
267 uid: req.user.uid, 267 uid: req.user.uid,
268 udid: req.cookies.udid || require('yoho-md5')(req.ip) || 'yoho', 268 udid: req.cookies.udid || require('yoho-md5')(req.ip) || 'yoho',
269 orderCode: req.query.out_trade_no, 269 orderCode: req.query.out_trade_no,
270 - contentCode: '78d0fb6c97d691863286edcb4d8abfa9' 270 + contentCode: '78d0fb6c97d691863286edcb4d8abfa9',
  271 + client_id: req.cookies._yasvd || ''
271 }; 272 };
272 273
273 // 如果没有uid,跳转到首页 274 // 如果没有uid,跳转到首页
@@ -44,7 +44,7 @@ class payModel extends global.yoho.BaseModel { @@ -44,7 +44,7 @@ class payModel extends global.yoho.BaseModel {
44 return this.get({data: { 44 return this.get({data: {
45 method: 'app.recommend.purchased', 45 method: 'app.recommend.purchased',
46 productSkn: param.skn, 46 productSkn: param.skn,
47 - udid: param.uid, 47 + uid: param.uid,
48 rec_pos: '100005', 48 rec_pos: '100005',
49 limit: 2, 49 limit: 2,
50 client_id: param.client_id 50 client_id: param.client_id