wx.getUserInfo()方法第一次就是返回getUserInfo:fail scope unauthorized
你好,请参阅小程序用户信息优化的最新调整:
获取用户信息接口优化调整 https://developers.weixin.qq.com/blogdetail?action=get_post_info&lang=zh_CN&token=384460955&docid=000aee01f98fc0cbd4b6ce43b56c01
https://developers.weixin.qq.com/blogdetail?action=get_post_info&docid=0000a82f00ce583cdbb60604e56c00&highline=getuserinfo%3Afail scope unauthorized&token=&lang=zh_CN
我也碰到了,以上解决方法