We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OKhttp与Jodd的生成小程序码实现类当微信后端报错时不会抛异常问题
1.当微信生成小程序码返回异常(比如参数错误)时的Content-Type为application/json, 而OKhttp实现类OkHttpQrcodeBytesRequestExecutor与OkHttpQrcodeFileRequestExecutor中判断的是否为text/plain才抛异常, 反之则写入文件或返回字节数组, 故此处不会抛任何异常 同理JoddHttpQrcodeFileRequestExecutor也是这个问题, 且设置的filePath不生效
The text was updated successfully, but these errors were encountered:
Fix issue binarywang#2301: 修复OKhttp与Jodd的生成小程序码实现类当微信后端报错时不会抛异常问题
dda69d9
🐛 #2301 【小程序】修复生成小程序码的okhttp与Jodd实现类当微信后端报错时不会抛异常的问题
f7f2121
No branches or pull requests
简要描述
OKhttp与Jodd的生成小程序码实现类当微信后端报错时不会抛异常问题
模块版本情况
详细描述
1.当微信生成小程序码返回异常(比如参数错误)时的Content-Type为application/json, 而OKhttp实现类OkHttpQrcodeBytesRequestExecutor与OkHttpQrcodeFileRequestExecutor中判断的是否为text/plain才抛异常, 反之则写入文件或返回字节数组, 故此处不会抛任何异常
同理JoddHttpQrcodeFileRequestExecutor也是这个问题, 且设置的filePath不生效
The text was updated successfully, but these errors were encountered: