Commit 5d4d22e5 by 李伟康

修改埋点

1 parent 046ccff7
...@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod'] ...@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
2测试 2测试
3生产 3生产
*/ */
const index = 1 const index = 2
const secretKey = { const secretKey = {
ip: {}, ip: {},
dev: { dev: {
......
...@@ -97,11 +97,7 @@ class Share { ...@@ -97,11 +97,7 @@ class Share {
nickName: WXUSERINFO.nickName || '', nickName: WXUSERINFO.nickName || '',
avatar: WXUSERINFO.avatarUrl || '', avatar: WXUSERINFO.avatarUrl || '',
phone: USERINFO.phone || '', phone: USERINFO.phone || '',
merchantId: shareInfo.merchantId || '', ...shareInfo
shareOpenId: shareInfo.shareOpenId || '',
sharePhone: shareInfo.sharePhone || '',
productCode: shareInfo.productCode || '',
productDesc: shareInfo.productDesc || ''
}, 1) }, 1)
} }
} }
...@@ -138,8 +134,6 @@ class Share { ...@@ -138,8 +134,6 @@ class Share {
shareOpenId: WXUSERINFO.openId || '', shareOpenId: WXUSERINFO.openId || '',
sharePhone: USERINFO.phone || '', sharePhone: USERINFO.phone || '',
...shareTrackData ...shareTrackData
}).then(res => {
console.log(res)
}) })
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!