你搞定了不?
wx.authPrivateMessage 调用无反馈https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/private-message.html 该代码中的 wx.authPrivateMessage 不会产生任何调用. IOS 和 安卓都不行, 工具中会显示 wx.authPrivateMessage({ shareTicket: this.$app.$options.globalData.shareTicket, complete: res => { console.log('callFunction test result: ',res) }, success: res => { console.log('auth', res); if (res.valid) { share.add({ data: { shareMan: this.$options.globalData.pid, projectid: this.$options.globalData.projectid, uniqueOpenManid: this.$options.globalData.userid }, success: function(res) { console.log('成功转发'); } }); } else { console.log("好像分享目标不是你哦") } } });
2023-05-24