Commit 85ae6fd9 authored by youjie's avatar youjie

no message

parent aab32a7f
...@@ -278,14 +278,14 @@ ...@@ -278,14 +278,14 @@
async QRcode(){ async QRcode(){
uni.showLoading() uni.showLoading()
let msg = { let msg = {
url: `/pages/FriendsAndRelatives/addFriendsAndRelatives?unionid=${data.wxUserAuthInfo.unionid} url: `/pages/FriendsAndRelatives/addFriendsAndRelatives?unionid=${data.wxUserAuthInfo.unionid}&AccountName=${data.erpUserInfo.AccountName}&nickName=${data.userWxInfo.nickName}`,//"www.baidu.com",
&AccountName=${data.erpUserInfo.AccountName}&nickName=${data.userWxInfo.nickName}`,//"www.baidu.com",
width: 200 width: 200
} }
let res = await CreateFriendQrCode(msg); let res = await CreateFriendQrCode(msg);
if (res) { if (res) {
uni.hideLoading() uni.hideLoading()
data.QRcodeImg = data.erpUrl+res.Data data.QRcodeImg = data.erpUrl+res.Data
console.log(data.QRcodeImg,'----')
data.showPopup = true data.showPopup = true
} }
}, },
...@@ -334,8 +334,7 @@ ...@@ -334,8 +334,7 @@
onShareAppMessage() { onShareAppMessage() {
return { return {
title: "邀请好友", title: "邀请好友",
query: `/pages/FriendsAndRelatives/addFriendsAndRelatives?unionid=${this.wxUserAuthInfo.unionid} query: `/pages/FriendsAndRelatives/addFriendsAndRelatives?unionid=${this.wxUserAuthInfo.unionid}&AccountName=${this.erpUserInfo.AccountName}&nickName=${this.userWxInfo.nickName}`,
&AccountName=${this.erpUserInfo.AccountName}&nickName=${this.userWxInfo.nickName}`,
imageUrl: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664163809000_838.png", imageUrl: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664163809000_838.png",
}; };
}, },
......
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