问题描述
![I have two model files in java springboot where in one i have declared the variables for database and another one to include file in Request body itself.[enter image description
here][1]](https://i.stack.imgur.com/wgOfC.png)
我有一个控制器来处理请求正文。我如何在邮递员中发送以下请求。有没有更好的方法来包含文件和其他模型类,而不仅仅是将其作为请求参数传递。
public String saveReferenceData(@RequestBody TestClass testClass){
// custom logic written
return "done";
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)