- authPrivateMessage 的encryptedData 能用云调用来解密吗?
wx.getWeRunData({ success (res) { // 拿 encryptedData 到开发者后台解密开放数据 const encryptedData = res.encryptedData // 或拿 cloudID 通过云调用直接获取开放数据 const cloudID = res.cloudID } }) 类似获取 getWeRunData ? 得到cloudID 。 https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/share/private-message.html [图片] wx.authPrivateMessage({ shareTicket: object.shareTicket, success(res) { console.log('authPrivateMessage success', res); //没有这个cloudID ???? }, fail(res) { console.log('authPrivateMessage fail', res) } }) authPrivateMessage 试过,得不到这个CloudID .
2022-05-19 - createActivityId 文档写的支持<云调用> ,为什么下面标注 不支持云函数?
[图片]
2022-05-18 - 转发调试中 App.onLaunch 或onShow 收不到 shareTicket ?
[图片] //转发按钮事件 tapDialogButton(event) { wx.updateShareMenu({ withShareTicket: true, isPrivateMessage: true, activityId: 'xxx-123', }); console.log("tapDialogButton"); } //app.js onShow: function(object) { console.log('1111111111111111111...'); console.log(object); } 真机调试,微信自己转发给自己。 操作,收到了转发消息,点击打开,查看log .
2022-05-18 - 升级安装出错?
[图片]
2022-05-17