Commit c6222560 by 张卓

导购员埋点

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