Commit f3036eef by 张卓

与商城绑定埋点

parent 241450f7
......@@ -298,7 +298,7 @@ export default {
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
if (pair[0] == 'articleId') {
wx.setStorageSync('articleId',pair[1])
wx.setStorageSync(this.$store.state.mixid+'articleId',pair[1])
}
}
}
......
......@@ -355,8 +355,8 @@ export default {
province: this.userInfo.province,
city: this.userInfo.city,
otherPhone: 0,
customerSourceType: wx.getStorageSync("articleId")?8:'',
customerSourceId: wx.getStorageSync("articleId") || ''
customerSourceType: wx.getStorageSync(this.$store.state.mixid+"articleId")?8:'',
customerSourceId: wx.getStorageSync(this.$store.state.mixid+"articleId") || ''
};
if (this.$store.state.spokesmanGroupId != "") {
query.spokesmanRelId = this.$store.state.spokesmanRelId;
......
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