多文件上传
后台接参
@PostMapping("/uploadFile")
@ApiOperation("上传附件")
public Object uploadFile(HttpServletRequest req,
MultipartFile[] file,
@RequestParam("bsId") String bsId) {
try {
re = benbuService.uploadFile(req, file, bsId);
} catch (Exception e) {
re = new ReturnObject<Object>(CustomHttpStatus.RECODE_E, CustomHttpStatus.UPLOAD_F);
}
return re;
}