为什么登入之后会返回 nackname:微信用户呢

小程序 文章 2021-04-08 17:02 423 0 全屏看文

AI助手支持GPT4.0

为什么登入之后会返回 nackname:微信用户呢Why does it return nackname after logging in: WeChat user?

为什么登入之后会返回 nackname:微信用户呢

https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.login.html

等入之后返回nackname为微信用户,头像也是不正常显示的,其他人登陆就没事,就我微信号不行

https://developers.weixin.qq.com/miniprogram/dev/api/open-api/login/wx.login.html After entering, I will return to nackname as a wechat user, and the avatar is also displayed abnormally. If other people log in, it's OK, but my wechat is not

回答:

ᥴꪮꪮꪶ .:

谢邀

返回微信用户 由于获取信息API调整导致的

具体参考:https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801

|G.XIAO|:

周知:getUserInfo 开发版和体验版 已对齐 getUserInfo 匿名表现,正式版将于 4月13日 正式对齐 getUserInfo 匿名表现。

请开发者使用 getUserProfile 获取用户信息。 小程序登录、用户信息相关接口调整说明:https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801

还有用户授权的前世今生 https://developers.weixin.qq.com/community/develop/article/doc/000c8ce9a10070794cfbb0c085b013

-EOF-

AI助手支持GPT4.0