Commit 6a2962d7 by 李伟康

修改埋点

1 parent 37c839b8
...@@ -114,9 +114,9 @@ class Share { ...@@ -114,9 +114,9 @@ class Share {
const { const {
WXUSERINFO, WXUSERINFO,
USERINFO USERINFO
} = this.getCommonData() } = this.getCommonData(),
query = `${query? `?${query}&`:'?'}merchantId=${USERINFO.merchantId}&shareOpenId=${WXUSERINFO.openId}` thisPage = wx.$router.getPageInstance()
if (USERINFO.phone) query += `&sharePhone=${USERINFO.phone}` query = `${query? `?${query}&`:'?'}merchantId=${thisPage.merchantId ||USERINFO.merchantId}&shareOpenId=${thisPage.shareOpenId || WXUSERINFO.openId}&sharePhone=${thisPage.sharePhone || USERINFO.phone}`
return query return query
} }
reportShareData(shareTrackData) { reportShareData(shareTrackData) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!