单个文件上传的写法: @RequestParam MultipartFile pictures 多个文件上传的写法: @RequestPart(“img”) MultipartFile[] pictures 如果遇到swaggerUI上没有上传文件按钮,修改接口注解为: 相关文章: 2022-12-23 2021-07-03 2022-12-23 2022-12-23 2021-12-24 2021-09-14 2022-12-23 2022-12-23