zqy
2025-08-02 068a2a5b8898ce2d4e59a4a9482d7236508cc35b
ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java
@@ -7,6 +7,7 @@
import javax.servlet.http.HttpServletResponse;
import javax.websocket.server.PathParam;
import com.ruoyi.common.annotation.Anonymous;
import com.ruoyi.service.DownLoadFileService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -100,6 +101,7 @@
//            log.error("下载文件失败", e);
//        }
//    }
@Anonymous
    @GetMapping("/downLoadFile")
    public void downLoadFile(@PathParam("path") String path, HttpServletResponse response) throws Exception {