使用标准基座uniCloud.getPhoneNumber正常可以获取手机号,但是自定义基座就失败
unicloud日志:
请求入参: {
"args": {
"openid": "020B0D8A1E5F1696792DFEE8E1EA41604631b5ad00e1b5245179994b9902f199b3d64",
"access_token": "U1RzaWQwMDAwMDAxNjQ2NjMxNjk1NzczWHBxU1kycnYyZ3h2TkR3MHRkQjNNdVBSdTRoS2I1R0N8fDF8djJ8MQ==",
"clientInfo": {
"PLATFORM": "app-plus",
"OS": "android",
"APPID": "UNI88F9095",
"DEVICEID": "ec79631dc2a2be6a",
"CLIENT_SDK_VERSION": "1.0.21",
"LOCALE": "zh-Hans"
}
},
"requestId": "ac1421161646631720336146983"
}
[phone/ac1421161646631720336146983/14ms/DEBUG] event : { openid: '020B0D8A1E5F1696792DFEE8E1EA41604631b5ad00e1b5245179994b9902f199b3d64',
access_token: 'U1RzaWQwMDAwMDAxNjQ2NjMxNjk1NzczWHBxU1kycnYyZ3h2TkR3MHRkQjNNdVBSdTRoS2I1R0N8fDF8djJ8MQ==' }
[phone/ac1421161646631720336146983/612ms/ERROR] errCode: 5000 | errMsg: 获取手机号码失败:获取手机号失败,请稍后重试。
Error: errCode: 5000 | errMsg: 获取手机号码失败:获取手机号失败,请稍后重试。
at Object.At [as univerify] (/tmp/function/@dcloudio/serverless/lib/aliyun/uni-cloud.js:1:41526)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
请求响应状态: fail
- 发布:2022-03-07 13:53
- 更新:2022-03-07 16:52
- 阅读:680
我的也遇到同样问题:
同一个帐号下有2个APP申请一键登陆 ,各方面都一样,目前一个APP正常可用,另外一个如下:
请求入参: {
"args": {
"access_token": "U1RzaWQwMDAwMDAxNjQ2NjQyODU0NjgzQjBucm1TTnR2TjNyTFgwd2lhN09HVnh2REdGaXRkUTZ8fDF8djJ8MQ==",
"openid": "02055C97AD7E61FD6240A6199FC185125F4b66d0d18e9154065b2302f438592ee9c63",
"clientInfo": {
"PLATFORM": "app-plus",
"OS": "android",
"APPID": "UNI****",
"DEVICEID": "916d8**2",
"CLIENT_SDK_VERSION": "1.0.21",
"LOCALE": "zh-Hans"
}
},
"requestId": "ac141c961646642855035155501"
}
[getPhoneNumber/ac141c961646642855035155501/1946ms/ERROR] errCode: 5000 | errMsg: 获取手机号码失败:获取手机号失败,请稍后重试。
Error: errCode: 5000 | errMsg: 获取手机号码失败:获取手机号失败,请稍后重试。
at Object.At [as univerify] (/tmp/function/@dcloudio/serverless/lib/aliyun/uni-cloud.js:1:41526)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
请求响应状态: fail
8***@qq.com (作者)
请问跟进的怎么了,辛苦
2022-03-08 10:59
DCloud_云服务_moyang
回复 8***@qq.com: 可以了,重新试一下
2022-03-08 14:34