为什么获取手机号一直报40071?

小程序 文章 2022-03-08 15:20 329 0 全屏看文

AI助手支持GPT4.0

为什么获取手机号一直报40071?Why does the phone number keep reporting 40071?

为什么获取手机号一直报40071?

求求了啥问题呀,已经微信认证过了 appid:wx92390fb337c4a2e3

What's the problem? Wechat has been authenticated appid: wx92390fb337c4a2e3

回答:

再见,电脑崽:

POST参数需要为json格式

curl -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"code": "e31968a7f94cc5ee25fafc2aef2773f0bb8c3937b22520eb8ee345274d00c144"}' https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=ACCESS_TOKEN
VBit:

这句是吧code放到url参数里面了吗? code不要放到url参数里

shlp:不是啊,url在上面
微喵网络:

入参格式错误

-EOF-

AI助手支持GPT4.0