第一次打开小程序,
wx.authorize({
scope: ‘scope.userInfo’,
)}
在开发工具上直接走失败回调,不会弹出获取用户权限的对话框,之前还可以的。
https://developers.weixin.qq.com/blogdetail?action=get_post_info&lang=zh_CN&token=1345323190&docid=000aee01f98fc0cbd4b6ce43b56c01