Commit ee60db15 by 李伟康

修改分享参数

1 parent 021ddb87
......@@ -296,7 +296,7 @@ export default {
})
}
this.detail = data
let link = `${redirectUrl}?id=${id}&shareStaffType=1&shareStaffName=${this.toUnicode(userInfo.nickName || userInfo.userName)}&shareStaffImageUrl=${encodeURIComponent(userInfo.logo || userInfo.staffAvatar)}&openId=${userInfo.openid || userInfo.uuid}`
let link = `${redirectUrl}?id=${id}&shareStaffType=${this.ISWXWORK ? 2 : 1}&shareStaffName=${this.toUnicode(userInfo.nickName || userInfo.userName)}&shareStaffImageUrl=${encodeURIComponent(userInfo.logo || userInfo.staffAvatar)}&openId=${userInfo.openid || userInfo.uuid}`
if (userInfo.phone) link = `${link}&userPhone=${userInfo.phone}`
if (this.ISWXWORK) {
link = `${link}&corpId=${userInfo.entmicroId}`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!