获取用户信息调用成功,但是为什么信息都是默认的,而不是绑定开发者账号?

小程序 文章 2021-04-06 20:22 400 0 全屏看文

AI助手支持GPT4.0

获取用户信息调用成功,但是为什么信息都是默认的,而不是绑定开发者账号?The call to get user information is successful, but why the information is the default instead of binding the developer account?

获取用户信息调用成功,但是为什么信息都是默认的,而不是绑定开发者账号?

点击获取用户信息按钮后,会触发wx.getUserInfo的接口函数。

调用成功,回调打印数据集,但是数据集中只有名称和头像,而且还是默认的,并非是绑定开发者的账号,请问问题出在哪里??急急急

After clicking the get user information button, it will trigger wx.getUserInfo Interface function of. If the call is successful, the callback will print the dataset, but the dataset only has the name and avatar, and it is still the default, not the binding developer's account. What's the problem?? In a hurry

回答:

192.168.10.1:

大家好!我登陆平台查看了一下通知,getUserInfo接口停用了,学习了一下getUserProfile的使用方法,成功更改了。

192.168.10.1:谢谢!!
192.168.10.1:谢谢!

-EOF-

AI助手支持GPT4.0