调用getPhoneNumber时提示该appid没有权限
海外主体的小程序,已经通过认证
aapId:wx3fc43eae15301d2a
wxml:
<button class=‘tips’ open-type=“getPhoneNumber” bindgetphonenumber=“getPhoneNumber”>获取电话号码</button>
js:
getPhoneNumber: function (e) {
console.log(e)
console.log(e.detail.errMsg)
console.log(e.detail.iv)
console.log(e.detail.encryptedData)
},
工具调试:
真机调试: