Authored by 郝肖肖

'店铺小程序二维码'

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