src/main/java/com/boying/controller/FileInfoController.java
@@ -15,7 +15,7 @@ import java.util.List; @RestController @RequestMapping("fileInfo") @RequestMapping("ffzf/fileInfo") @RequiredArgsConstructor public class FileInfoController { @@ -59,4 +59,9 @@ fileInfoService.getFile(path,response); } @GetMapping("/showImgById/{fileId}") public void showImgById(@PathVariable Long fileId,HttpServletResponse response) { fileInfoService.getFileById(fileId,response); } }