。。。

This commit is contained in:
wangliwen 2022-08-05 10:25:00 +08:00
parent a1bbd95591
commit 166fe05195
1 changed files with 2 additions and 2 deletions

View File

@ -39,9 +39,9 @@ public class FileUploadController {
@ApiOperation("文件上传")
@LogOperation("文件上传")
@ApiImplicitParams({
@ApiImplicitParam(name = "config", value = "文件", paramType = "config", dataType = "config", required = true)
@ApiImplicitParam(name = "file", value = "文件", paramType = "config", dataType = "config", required = true)
})
public Result<String> upload(@RequestParam("config") MultipartFile uploadFile,
public Result<String> upload(@RequestParam("file") MultipartFile uploadFile,
HttpServletRequest request) {
logger.info("上传文件:{}", uploadFile.getOriginalFilename());
String format = SIMPLE_DATE_FORMAT.format(new Date());