ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java
@@ -73,8 +73,8 @@ } @GetMapping("/downLoadFile") public AjaxResult downLoadFile(@PathParam("path") String path, HttpServletResponse response) throws Exception { return downLoadFileService.downLoadFile(path,response); public void downLoadFile(@PathParam("path") String path, HttpServletResponse response) throws Exception { downLoadFileService.downLoadFile(path,response); }