获取手机号,动态口令获取

小程序 文章 2021-12-20 12:00 16 0 全屏看文

获取手机号,动态口令获取Get mobile phone number, get dynamic password

获取手机号,动态口令获取

https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html

获取的结果不是code,直接获取到:{errMsg: "getPhoneNumber:ok", encryptedData: "wG9oYKkjzgzUqso0HmvIPGojeAbc6mJH0b8vAkZBJnlhSDvJES…8zSsZcasoHtxYNgSbFnakHkpl22K8qK6hA0Oydti5o91KlQ==", iv: "KelbQQte+beV597Mu2x3MA==", cloudID: "52_ZVmYd-DFoGVUHMPbPQ-zG0fhQf3lFZbeqXV6k2tFaRKMDWryrCkk9m-n6O8"}

code动态口令怎么获取

https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html 获取的结果不是code,直接获取到:{errMsg: "getPhoneNumber:ok", encryptedData: "wG9oYKkjzgzUqso0HmvIPGojeAbc6mJH0b8vAkZBJnlhSDvJES…8zSsZcasoHtxYNgSbFnakHkpl22K8qK6hA0Oydti5o91KlQ==", iv: "KelbQQte+beV597Mu2x3MA==", cloudID: "52_ZVmYd-DFoGVUHMPbPQ-zG0fhQf3lFZbeqXV6k2tFaRKMDWryrCkk9m-n6O8"} code动态口令怎么获取

回答:

社区技术运营专员-Jahozheng:

试试真机调试

刀钝刃乏:

brave:

基础库2.21.2开始支持。确认下基础库是否符合要求。

-EOF-