authorize:fail invalid scope

发布于 6 年前作者 qiang945499 次浏览最后编辑 6 年前来自 ask

授权userLocation失败authorize:fail invalid scope

除了userLocation其他的都可以授权

wx.authorize({
    scope: 'scope.userLocation',
    success() {

        console.log('success')

    },

    fail(err) {
        console.log(err)
    }
})

2 回复
qbai
qbai1 楼6 年前

你好,麻烦提供下appid,谢谢

xiuyingxu
xiuyingxu2 楼4 年前

我的也是这个问题,弄了好几天都没成功,使用的是测试账户。appid:wxad3dbc1d615815d1

请帮忙慢慢,谢谢!