Skip to content
New issue

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

无论什么情况下Content-Type 总是 application/json #133

Open
yudonghua opened this issue Jun 3, 2021 · 2 comments
Open

无论什么情况下Content-Type 总是 application/json #133

yudonghua opened this issue Jun 3, 2021 · 2 comments

Comments

@yudonghua
Copy link

版本号

~ 1.8.2

什么问题

~ 无论什么接口 Content-Type 总是 application/json

如何复现此问题

~ 任何情况下

接口定义 (如果可以的话,请上传请求对象和响应对象)

~ /**
* get测试
*
* @menu 测试
*/
@GetMapping(value = "/test/get")
public Object getTest(@RequestParam(name = "userId") Long userId)

idea 版本

2020

@yudonghua
Copy link
Author

我看源码的时候 发现只有在 没有RequestBody和RequestParam 且是POST请求 感觉逻辑有点问题

@aqiu202
Copy link

aqiu202 commented Jul 11, 2022

可以试试我重构的版本,RedsoftYapiUpload,友好的配置面板,支持批量导入,完美支持泛型,并支持Jackson库的注解解析

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants