- 获取不限制的小程序码,不返回image,返回json?
https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/qr-code/getUnlimitedQRCode.html 请求地址:https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token= 请求参数: 参数1: param = "se=-100&us=16031"; String params = "{\"scene\": \"" + param + "\", \"page\": \"" + MiniAppsQrCOdeConstans.PATH + "\", \"width\": " + MiniAppsQrCOdeConstans.WIDTH + "}"; 返回结果: 成功: ResponseEntityProxy{[Content-Type: image/jpeg,Content-Length: 195169,Chunked: false]} 参数2: param = "se=-100&us=16031&pis=CWIvd5IZWeX-J1tC3pA2EwI"; String params = "{\"scene\": \"" + param + "\", \"page\": \"" + MiniAppsQrCOdeConstans.PATH + "\", \"width\": " + MiniAppsQrCOdeConstans.WIDTH + "}"; 返回结果: 失败: ResponseEntityProxy{[Content-Type: application/json; encoding=utf-8,Content-Length: 215,Chunked: false]}
07-22 - 获取不限制的小程序码,返回图片流解析失败,提示是一个文件。
https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/qr-code/getUnlimitedQRCode.html
07-16