From 47c0c2fbf4e9f57ef1f05481b43554a5d7089e32 Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang960204@163.com>
Date: 星期二, 06 六月 2023 00:40:51 +0800
Subject: [PATCH] 提交更新
---
src/main/java/com/boying/controller/FileInfoController.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/boying/controller/FileInfoController.java b/src/main/java/com/boying/controller/FileInfoController.java
index 2423411..33caaed 100644
--- a/src/main/java/com/boying/controller/FileInfoController.java
+++ b/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);
+ }
+
}
--
Gitblit v1.9.1