体验版小程序后台解密出来的数据没有昵称和头像,这是是正常的吗?
体验版小程序解密出来的数据没有昵称和头像,这是是正常的吗?The data decrypted by the trial version of the applet does not have a nickname or avatar. Is this normal?
体验版小程序解密出来的数据没有昵称和头像,这是是正常的吗?体验版小程序后台解密出来的数据没有昵称和头像,这是是正常的吗?
Experience version of the small program background decrypted data without nickname and avatar, this is normal?
回答:
正常的 获取信息API有所调整
参考:https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801
请多看公告
打开调试,看看是否正常!
周知:getUserInfo 开发版 & 体验版 已对齐 getUserInfo 匿名表现,正式版将于 4月13日 正式对齐 getUserInfo 匿名表现。请开发者使用 getUserProfile 获取用户信息。开发版 & 体验版 scope.userInfo 调整将于 4月13日 对齐。
pc微信暂不支持wx.getUserProfile,可以参考示例代码进行兼容
https://developers.weixin.qq.com/miniprogram/dev/api/open-api/user-info/wx.getUserProfile.html#%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81
小程序登录、用户信息相关接口调整说明:https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801