。。。
This commit is contained in:
parent
a1bbd95591
commit
166fe05195
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue