https://api.weixin.qq.com/sns/jscode2session 调用问题
返回的数据为:
{ url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.weixin.qq.com")), port: None, path: "/sns/jscode2session", query: Some("appid=wx3f13cfdeb466a021&secret=XXX&js_code=XXX&grant_type=authorization_code"), fragment: None }, status: 200, headers: {"connection": "keep-alive", "content-type": "text/plain", "date": "Sun, 11 Aug 2024 10:34:26 GMT", "content-length": "134"} }
返回数据中没有 openid字段 。关键是前一段时间都是正常调用,突然就不返回数据了
没看懂,postman试试,这个对排查问题没帮助