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动态口令怎么获取
试试真机调试
基础库2.21.2开始支持。确认下基础库是否符合要求。