...
|
...
|
@@ -203,11 +203,14 @@ const shop = { |
|
|
_getMiniAppPath(req, brands, shopId) {
|
|
|
let minis = {};
|
|
|
|
|
|
// param:品牌ID|店铺ID, name:品牌名称, miniQrType 7:商品,2:品牌,3:店铺,miniapp_type 0:有货,1:新与力
|
|
|
// param:品牌ID|店铺ID, name:品牌名称, miniQrType 7:商品,2:品牌,10:店铺,miniapp_type 0:有货,1:新与力
|
|
|
if (shopId) {
|
|
|
minis = Object.assign(minis, {
|
|
|
param: shopId,
|
|
|
miniQrType: 3
|
|
|
param: JSON.stringify({
|
|
|
shopId: shopId,
|
|
|
union_type: req.query.union_type || req.cookies.unionTypeYas || '',
|
|
|
}),
|
|
|
miniQrType: 10
|
|
|
});
|
|
|
} else if (!brands || brands.length !== 1) {
|
|
|
minis = Object.assign(minis, {
|
...
|
...
|
|