Commit c6222560 by 张卓

导购员埋点

parent 6abf30e5
......@@ -197,6 +197,7 @@ export default {
let paramsObj = JSON.parse(res.data.data.scene);
wx.setStorageSync('attractingCustomerChannelId',paramsObj.attractingCustomerChannelId)
wx.setStorageSync(this.$store.state.mixid+'storeId',paramsObj.storeId)
wx.setStorageSync(this.$store.state.mixid+'sellerId',paramsObj.sellerId)
console.log(res.data.data)
console.log(wx.getStorageSync("openid"))
console.log(333333)
......
......@@ -378,6 +378,7 @@ export default {
city: this.userInfo.city,
otherPhone: 0,
storeId :wx.getStorageSync(this.$store.state.mixid+'storeId') || "",
storeId :wx.getStorageSync(this.$store.state.mixid+'sellerId') || "",
articleId:
wx.getStorageSync(this.$store.state.mixid + "articleId") || "",
};
......@@ -442,6 +443,9 @@ export default {
if(wx.getStorageSync(this.$store.state.mixid+'storeId')) {
query.storeId = wx.getStorageSync(this.$store.state.mixid+'storeId')
}
if(wx.getStorageSync(this.$store.state.mixid+'sellerId')) {
query.sellerId = wx.getStorageSync(this.$store.state.mixid+'sellerId')
}
//绑定手机号
wx.navigateTo({
url: `../index/main?from=login&backpath=/login/wxRegister&params=${encodeURIComponent(
......
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