接口:wxacode.getUnlimited
首先 参数如下:
{"check_path":false,"is_hyaline":false,"width":430,"page":"pages/staffEntry/index","scene":"254","env_version":"develop"}
URL:
https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=tokenXXXXXXXXXXX
结果如下, 也没有错误提示,不知道到底是哪出问题了。
请求结果呢? errcode 或者 errmsg 呢
入参:{"width":1280,"page":"pages/index/index","check_path":false,"scene":"ceb0b835d1ce4378bdf80b4afaf3e3f8","env_version":"trial"}
返参:{"body":"eyJlcnJjb2RlIjo0MDAwMSwiZXJybXNnIjoiaW52YWxpZCBjcmVkZW50aWFsLCBhY2Nlc3NfdG9rZW4gaXMgaW52YWxpZCBvciBub3QgbGF0ZXN0IHJpZDogNjJhOTg3MTktNzVhN2I2ZTctMWQ4N2NmMDYifQ==","headers":{"Connection":["keep-alive"],"Content-Length":["118"],"Content-Type":["application/json; encoding=utf-8"],"Date":["Wed, 15 Jun 2022 07:15:37 GMT"],"LogicRet":["40001"],"RetKey":["11"]},"statusCode":"OK","statusCodeValue":200}
我试了,当accesstoken无效的时候就会这样。而且官方文档写的是失败是会返回 errcode 40001。但是实际上即便access无效也会返回二进制代码。。。反倒是返回数据的头里面有一个 LogicRet为40001.
我也有一样的问题,麻烦回复一下,也没错误码
response=HttpResponseProxy{HTTP/1.1 200 OK [Connection: keep-alive, Date: Mon, 27 Jun 2022 11:52:02 GMT, Content-Type: application/json; encoding=utf-8, RetKey: 11, LogicRet: 40001, Content-Length: 118] ResponseEntityProxy{[Content-Type: application/json; encoding=utf-8,Content-Length: 118,Chunked: false]}}