From 957fe0a4eda7e4616d91d0b8939901bff6366542 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期一, 05 六月 2023 23:56: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..7086667 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