{"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: vc0933th24 ]"}
怎么获取openid就报错了,
https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code
用的这个URL替换的啊,上一个小程序没问题啊 怎么现在挂了 求速度解决
扫描小程序码分享
{"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: vc0933th24 ]"}
怎么获取openid就报错了,
https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code
用的这个URL替换的啊,上一个小程序没问题啊 怎么现在挂了 求速度解决
上一个小程序也是用这个URL获取openid的,没问题啊
https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code
用这个连接吗?
这是微信公众号获取用户openid的api吧 不是小程序的。