Commit a14ea5eb authored by yangtianyou's avatar yangtianyou

添加上传不限文件类型接口

parent 7d9bc8a6
...@@ -182,7 +182,7 @@ public class FileUploadController { ...@@ -182,7 +182,7 @@ public class FileUploadController {
} }
@PostMapping(value = "/file/upload/allType", headers = "content-type=multipart/form-data", consumes = MediaType.MULTIPART_FORM_DATA_VALUE) @PostMapping(value = "/upload/allType", headers = "content-type=multipart/form-data", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
@RequiresPermissions("file:upload:allType") @RequiresPermissions("file:upload:allType")
@ApiOperation(value = "单文件上传(不限格式)", notes = "单文件上传(不限格式)") @ApiOperation(value = "单文件上传(不限格式)", notes = "单文件上传(不限格式)")
public ResponseEntity<ImageUploadResult> uploadAllType(@RequestParam(value = "file") MultipartFile uploadFile) throws Exception { public ResponseEntity<ImageUploadResult> uploadAllType(@RequestParam(value = "file") MultipartFile uploadFile) throws Exception {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment