|
@@ -80,9 +80,10 @@ const newDetail = { |
|
@@ -80,9 +80,10 @@ const newDetail = { |
80
|
miniPath: helpers.urlFormat('/api/wechat/miniapp.jpg', {
|
80
|
miniPath: helpers.urlFormat('/api/wechat/miniapp.jpg', {
|
81
|
miniapp_type: 0,
|
81
|
miniapp_type: 0,
|
82
|
param: result.productSkn,
|
82
|
param: result.productSkn,
|
83
|
- miniQrType: 1,
|
83
|
+ miniQrType: 7,
|
|
|
84
|
+ union_type: req.query.union_type || req.cookies.unionTypeYas || '',
|
84
|
isOpen: _.get(req.app, 'locals.wap.wechat.miniPathOpen', false)
|
85
|
isOpen: _.get(req.app, 'locals.wap.wechat.miniPathOpen', false)
|
85
|
- }), // param:品牌ID, name:品牌名称, miniQrType 1:商品 2 品牌,miniapp_type 0:有货,1:新与力
|
86
|
+ }), // param:品牌ID, name:品牌名称, miniQrType 7:商品 2 品牌,miniapp_type 0:有货,1:新与力,union_type商品详情页和首页加
|
86
|
miphtml: `https://m.yohobuy.com/mip/product/${result.productSkn}.html`,
|
87
|
miphtml: `https://m.yohobuy.com/mip/product/${result.productSkn}.html`,
|
87
|
});
|
88
|
});
|
88
|
}).catch(next);
|
89
|
}).catch(next);
|