如图。。。
获取用户信息,显示“微信用户”?Get user information, show "WeChat user"?
获取用户信息,显示“微信用户”?如图。。。
As shown in the picture...
回答:
这个api要废了
换吧:https://developers.weixin.qq.com/miniprogram/dev/api/open-api/user-info/wx.getUserProfile.html
看这里:https://developers.weixin.qq.com/community/develop/article/doc/000c8ce9a10070794cfbb0c085b013
常规问题,社区都有答案,学会搜索
原文出处:获取用户信息,显示“微信用户”?
周知:getUserInfo 开发版 & 体验版 已对齐 getUserInfo 匿名表现,正式版将于 4月13日 正式对齐 getUserInfo 匿名表现。请开发者使用 getUserProfile 获取用户信息。
小程序登录、用户信息相关接口调整说明:https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801