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