Postman同时上传文件
controller路
postman上传多文件设置:
1.HEADER里面
配置 Content-Type: aplication/x-www-form-urlencoded
2.Body. 选择 formdata
files[0] 文件类型 上传文件一
files[1] 文件类型 上传文件二
参数3 text类型
以上参数 对应与 后台Ctrler的接口,参数是对象格式,每个参数和第二布步一致。
直https://blog.csdn.net/qq_41851091/article/details/102896967

https://blog.csdn.net/qq_41851091/article/details/102896967

就ok了:下图是debug图