{"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: WfFEGiqNe-kN.Q_ ]"}
小程序获取accessToken 48001 api unauthorized, hints ?接口:https://api.weixin.qq.com/sns/oauth2/access_token?appid=wx15fc601dfc580dc7&secret=xxxx&code=xxx&grant_type=authorization_code appid:wx15fc601dfc580dc7 响应结果:{"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: WfFEGiqNe-kN.Q_ ]"}
2020-12-02unauthorized
小程序通过授权码获取用户基本信息accesstoken过程中授权失败api unauthorizedhttps://developers.weixin.qq.com/doc/oplatform/Mobile_App/WeChat_Login/Authorized_API_call_UnionID.html 你好,根据这个文档中的流程,后端获取用户的基本信息和unionId, 1、小程序前端获取到授权的code,然后把code请求到后端服务器,服务器接口地址已经在小程序公众平台上面做了绑定,然后把code,appid,secret 通过接口 https://api.weixin.qq.com/sns/oauth2/access_token,获取access_token, 第一次返回 {"errcode":48001,"errmsg":"api unauthorized, hints: [ req_id: MenEZ44ce-yQW0aa ]"} 后面就一直接提示code已经使用了 请求下这是什么哪里的出问题了
2020-12-02