// #ifdef MP-WEIXIN
uni.authorize({
scope: 'scope.userLocation',
success(res) {
console.log(res,'res');
uni.getLocation({
type: 'wgs84',
altitude: true,
success: function(res) {
//高德逆向
that.myAmapFun.getRegeo({
location: `${res.longitude},${res.latitude}`,
success: function(res) {
},
fail: function(res) {
}
})
}
});
}
})
// #endif 代码是这样的
这个隐私保护协议是否添加
检查隐私协议