Commit 7afedc4a by 张卓

只需要articleId

parent 65e8a616
...@@ -401,9 +401,12 @@ export default { ...@@ -401,9 +401,12 @@ export default {
this.shareOrderSn = res.target.data[len].orderSn; this.shareOrderSn = res.target.data[len].orderSn;
this.shareTid = res.target.data[len].shareTid; this.shareTid = res.target.data[len].shareTid;
this.newWindowHref = res.target.data[len].shareImgUrl;// + '&fromVisitorOpenId=' + wx.getStorageSync("openid") this.newWindowHref = res.target.data[len].shareImgUrl;// + '&fromVisitorOpenId=' + wx.getStorageSync("openid")
console.log("分享信息:", this.shareLogoUrl, this.shareShopName,1111111,this.newWindowHref); if(this.newWindowHref.indexOf('fromVisitorOpenId')==-1) {
this.newWindowHref += '&fromVisitorOpenId=' + wx.getStorageSync("openid")
}
//文章详情分享埋点 //文章详情分享埋点
if(this.newWindowHref.indexOf('articleId')!=-1) { if(this.newWindowHref.indexOf('articleId')!=-1) {
// this.newWindowHref += ;
var articleId = '' var articleId = ''
var vars = this.newWindowHref.split("&"); var vars = this.newWindowHref.split("&");
for (var i = 0; i < vars.length; i++) { for (var i = 0; i < vars.length; i++) {
...@@ -417,6 +420,7 @@ export default { ...@@ -417,6 +420,7 @@ export default {
}) })
} }
console.log("分享信息:", this.shareLogoUrl, this.shareShopName,1111111,this.newWindowHref);
}, },
//加载成功 //加载成功
handleLoad(){ handleLoad(){
......
...@@ -355,8 +355,7 @@ export default { ...@@ -355,8 +355,7 @@ export default {
province: this.userInfo.province, province: this.userInfo.province,
city: this.userInfo.city, city: this.userInfo.city,
otherPhone: 0, otherPhone: 0,
customerSourceType: wx.getStorageSync(this.$store.state.mixid+"articleId")?8:'', articleId: wx.getStorageSync(this.$store.state.mixid+"articleId") || ''
customerSourceId: wx.getStorageSync(this.$store.state.mixid+"articleId") || ''
}; };
if (this.$store.state.spokesmanGroupId != "") { if (this.$store.state.spokesmanGroupId != "") {
query.spokesmanRelId = this.$store.state.spokesmanRelId; 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