wx.authorize不执行?

发布于 7 年前作者 xiuying3914124 次浏览最后编辑 7 年前来自 issues

wx.authorize({scope: ‘scope.userInfo’,})获取用户信息是,错误信息为:{errMsg: “authorize:fail 系统错误,错误码:-12007,scope unauthorized”};查询得知12007是定位报错,获取用户信息定位有关系吗?

1 回复
taocao
taocao1 楼5 年前

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html