From f9a85d68b1a08b03753d297f76bd4e87bb4d2b3e Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期四, 11 四月 2024 14:42:26 +0800
Subject: [PATCH] fix:手动抬杆接口更新

---
 src/main/java/com/boying/controller/FileInfoController.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/boying/controller/FileInfoController.java b/src/main/java/com/boying/controller/FileInfoController.java
index 7086667..09514f8 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("ffzf/fileInfo")
+@RequestMapping("ffzf/fileinfo")
 @RequiredArgsConstructor
 public class FileInfoController {
 
@@ -54,9 +54,9 @@
         fileInfoService.downloadPng(byId,request,response);
     }
 
-    @GetMapping("/showImg")
-    public void showImg(String path,HttpServletResponse response) {
-        fileInfoService.getFile(path,response);
+    @GetMapping("/showImg/{filename}")
+    public void showImg(@PathVariable String filename,HttpServletResponse response) {
+        fileInfoService.getFile(filename,response);
     }
 
     @GetMapping("/showImgById/{fileId}")

--
Gitblit v1.9.1