通过code获取用户信息的时候总是提示invalid code在官方测试平台测也不行,麻烦后台看下?
再通过code获取用户信息的时候总是提示invalid code在官方测试平台测也不行,麻烦后台看下日志把,因为是企业自建程序,目前没有前端,在pc端打开这个地址的时候,内部进行回调,后边参数没有复制下来,回调去请求用户信息,所携带的code参数就开始报错了(invalid code)https://open.weixin.qq.com/connect/oauth2/authorize?redirect_uri=https%3A%2F%2Ftest-ucca-crm.hillinsight.tech%2Fapi%2FLogin%2Fuserinfo&
{"code":40029,"message":"invalid code, hint: [1620984782_147_5137722c8b47ff8bb24328faa7f957ad], from ip: 47.95.229.44, more info at https:\/\/open.work.weixin.qq.com\/devtool\/query?e=40029","total":0,"data":null,"time":0.4212038516998291}
{"errcode":40029,"errmsg":"invalid code, hint: [1620987758_148_b23242e65b1adb4b3390ab8a9039978e], from ip: xx:xx:xx:xx, more info at https://open.work.weixin.qq.com/devtool/query?e=40029"}
还是不行
{"errcode":40029,"errmsg":"invalid code, hint: [1620987850_147_d7c1fa13199104e23c2b9ad225db8fce], from ip: 118.186.11.210, more info at https://open.work.weixin.qq.com/devtool/query?e=40029"}