From df5cc553bde495f22757f0d6472a714a056a02d8 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期五, 28 四月 2023 16:57:57 +0800
Subject: [PATCH] 默认变更列表
---
src/main/java/com/boying/controller/FileInfoController.java | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/boying/controller/FileInfoController.java b/src/main/java/com/boying/controller/FileInfoController.java
index 2423411..93b54af 100644
--- a/src/main/java/com/boying/controller/FileInfoController.java
+++ b/src/main/java/com/boying/controller/FileInfoController.java
@@ -59,4 +59,10 @@
fileInfoService.getFile(path,response);
}
+
+ @GetMapping("/showImgById/{fileId}")
+ public void showImgById(@PathVariable Long fileId,HttpServletResponse response) {
+ fileInfoService.getFileById(fileId,response);
+ }
+
}
--
Gitblit v1.9.1