From 6e7c7a2ceaf1d8d79b8b53e5e235f7827d93d323 Mon Sep 17 00:00:00 2001
From: Jinquan_Ou <Jinquan@gdut.com>
Date: 星期日, 19 三月 2023 20:47:03 +0800
Subject: [PATCH] 11111

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java
index 1cad5e4..237495c 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java
@@ -6,6 +6,7 @@
 import javax.servlet.http.HttpServletResponse;
 import javax.websocket.server.PathParam;
 
+import com.ruoyi.domain.PathParams;
 import com.ruoyi.service.DownLoadFileService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -74,7 +75,7 @@
     }
 
     @GetMapping("/downLoadFile")
-    public AjaxResult downLoadFile(@RequestParam("path") String path,HttpServletResponse response) throws Exception {
+    public AjaxResult downLoadFile(@PathParam("path") String path, HttpServletResponse response) throws Exception {
         return downLoadFileService.downLoadFile(path,response);
     }
 

--
Gitblit v1.9.1