Commit 3301bf03 by 侯体倬

绑定来源配置

parent c9d67f9c
...@@ -350,6 +350,9 @@ export default { ...@@ -350,6 +350,9 @@ export default {
offlineShopName:paramsObj.offlineShopName, offlineShopName:paramsObj.offlineShopName,
}); });
} }
if (paramsObj.QRCodeType) {
wx.setStorageSync(this.$store.state.mixid+'guide_QRCodeType', paramsObj.QRCodeType);
}
wx.setStorageSync('attractingCustomerChannelId',paramsObj.attractingCustomerChannelId); wx.setStorageSync('attractingCustomerChannelId',paramsObj.attractingCustomerChannelId);
wx.setStorageSync(this.$store.state.mixid+'storeId',paramsObj.storeId); wx.setStorageSync(this.$store.state.mixid+'storeId',paramsObj.storeId);
wx.setStorageSync(this.$store.state.mixid+'sellerId',paramsObj.sellerId); wx.setStorageSync(this.$store.state.mixid+'sellerId',paramsObj.sellerId);
......
...@@ -802,6 +802,15 @@ export default { ...@@ -802,6 +802,15 @@ export default {
query.spokesmanGroupId = this.$store.state.spokesmanGroupId; query.spokesmanGroupId = this.$store.state.spokesmanGroupId;
query.spokesmanShopId = this.$store.state.spokesmanShopId; query.spokesmanShopId = this.$store.state.spokesmanShopId;
} }
// 导购海报分享来源
const shareQRCodeType = wx.getStorageSync(this.$store.state.mixid + 'guide_QRCodeType');
if (shareQRCodeType) {
query.customerSourceType = {
coupon: 17, // 优惠券海报
home: 18, // 门店海报
goods: 19, // 商品海报
}[shareQRCodeType];
}
log.info(query,'bindUser-query-500') log.info(query,'bindUser-query-500')
login login
.bindUser(query) .bindUser(query)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment