https://developers.weixin.qq.com/doc/service/api/usermanage/userinfo/api_userinfo.htmlGET https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID&lang=LANGz这个接口
我传入正确的参数 https://api.weixin.qq.com/cgi-bin/user/info?access_token=95_cNx7XCdtv8JnbIY43CDOUz2y-Mk4yt2jc4zlJS8TrDoPGNM33tfmC1OZKmVlsb3ZoYadwNre5gzr8uCYkhRuB1l4aIkeQ4uQDmjsALZUZHE&openid=oGQSI0Ykfk03spy2BDd_OTNyerI0&lang=zh_CN但是
{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest, could get access_token by getStableAccessToken, more details at https://mmbizurl.cn/s/JtxxFh33r rid: 68a3d0df-02a55b94-2e461047"} 报这个错 token和openId我对比了好几次 是对的 麻烦帮我解决下
你好,为了保持社区良好的氛围,请勿重复发帖,此贴先隐藏,感谢配合。
这是服务号的接口,怀疑你用的是小程序的token和小程序用户openId