...
|
...
|
@@ -58,9 +58,6 @@ const newDetail = { |
|
|
JSON.stringify(appParams) +
|
|
|
'}';
|
|
|
|
|
|
// param:品牌ID, name:品牌名称, miniQrType 1:商品 2 品牌,miniapp_type 0:有货,1:新与力
|
|
|
let miniPath = `${global.yoho.config.domains.api}wechat/miniapp/img-check.jpg?miniapp_type=0¶m=${result.productSkn}&miniQrType=1`.replace(/http:|https:/, ''); // eslint-disable-line
|
|
|
|
|
|
res.render('detail/new/detail', {
|
|
|
pageHeader: headerData,
|
|
|
result: result,
|
...
|
...
|
@@ -76,7 +73,11 @@ const newDetail = { |
|
|
pageFooter: true,
|
|
|
localCss: true,
|
|
|
appPath: appPath,
|
|
|
miniPath: miniPath,
|
|
|
miniPath: helpers.urlFormat('/mini-check.jpg', {
|
|
|
miniapp_type: 0,
|
|
|
param: result.productSkn,
|
|
|
miniQrType: 1
|
|
|
}), // param:品牌ID, name:品牌名称, miniQrType 1:商品 2 品牌,miniapp_type 0:有货,1:新与力
|
|
|
isMarsApp: req.yoho.isMarsApp // 判断mars
|
|
|
});
|
|
|
}).catch(next);
|
...
|
...
|
|