Problem description: According to the process of writing small program login before, wx.getUserInfo obtains user information, but this time, I do not know why to obtain the information is so
{
nickName: "Wechat User".avatarUrl: "Default wechat profile picture".gender: 0.country: "". }Copy the code
Wx. getUserInfo has been abandoned by wechat
Note: the recent development of small landing friend functions, carefully read the following article oh 😯 developers.weixin.qq.com/community/d…