由于之前开通wx.getFuzzyLocation用于签到签退,现在新功能其它地方要获取定位,怎么修改授权弹框提示语?
// 获取当前定位
getLocation() {
let _this = this;
wx.authorize({
scope: 'scope.userFuzzyLocation',
success(res) {
if(res.errMsg == 'authorize:ok'){
wx.getFuzzyLocation({
type: 'wgs84',
success(re) {
const latitude = re.latitude
const longitude = re.longitude
Toast(`已获取定位${latitude}${longitude}`)
},
fail(err) {
Toast('未开启手机定位或未授权小程序开启定位权限')
}
})
}
},
fail(err) {
Toast('未开启手机定位或未授权小程序开启定位权限')
}
})
},

你说的应该是后台配置的用户隐私协议里边的提示语,登录后台修改隐私协议提交审核
授权弹窗这里文案展示的是[mp后台 -> 左下角头像 -> 账号设置 -> 服务内容声明 -> 用户隐私保护指引]里面填写的内容。