From 3113551d991e322f2f21395848087ac083c3bbe0 Mon Sep 17 00:00:00 2001 From: linrf Date: Thu, 27 Jul 2023 11:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=96=87=E4=BB=B6=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/docus/server/api/scheduling.management/FileApi.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docus-client-interface/src/main/java/com/docus/server/api/scheduling.management/FileApi.java b/docus-client-interface/src/main/java/com/docus/server/api/scheduling.management/FileApi.java index 6a4d03b..fb90bcd 100644 --- a/docus-client-interface/src/main/java/com/docus/server/api/scheduling.management/FileApi.java +++ b/docus-client-interface/src/main/java/com/docus/server/api/scheduling.management/FileApi.java @@ -28,17 +28,17 @@ import javax.servlet.http.HttpServletResponse; public interface FileApi { @ApiOperation("文件下载") - @GetMapping("/download") + @GetMapping("/download0") void downLoadFromUrl(@RequestParam(value = "urlStr") String urlStr, @RequestParam(value = "fileName") String fileName, @RequestParam(value = "savePath") String savePath) throws Exception; @ApiOperation("文件下载") - @GetMapping("/download") + @GetMapping("/download1") ResponseEntity downloadFile(@RequestParam(value = "filePath") String filePath) throws Exception; @ApiOperation("文件下载") - @GetMapping("/download") + @GetMapping("/download2") void downloadFile(@RequestParam(value = "filePath") String filePath, HttpServletResponse response) throws Exception; @ApiOperation("文件上传")