|
@@ -63,6 +63,13 @@ public class FileController {
|
63
|
63
|
return success(fileService.getFiles(ids));
|
64
|
64
|
}
|
65
|
65
|
|
|
66
|
+ @PostMapping("/get-files")
|
|
67
|
+ @Operation(summary = "获取文件对象", description = "根据 id 获取文件对象")
|
|
68
|
+ @Parameter(name = "ids", description = "编号", required = true,example = "1,2,3")
|
|
69
|
+ public CommonResult<List<FileDO>> getFileDOS(@RequestBody FileReqVO fileReqVO) {
|
|
70
|
+ return success(fileService.getFiles(fileReqVO.getIds()));
|
|
71
|
+ }
|
|
72
|
+
|
66
|
73
|
@GetMapping("/getOneFile")
|
67
|
74
|
@Operation(summary = "获取文件对象", description = "根据 id 获取文件对象")
|
68
|
75
|
@Parameter(name = "id", description = "编号", required = true,example = "1")
|