From 619bc45f1780814e05aab15d5a5cef6a6a21c58f Mon Sep 17 00:00:00 2001 From: Diyu0904 <1819728964@qq.com> Date: Mon, 24 Mar 2025 09:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E4=BB=B6=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E4=B8=BAPOST=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/mcwl/web/controller/resource/FileController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/resource/FileController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/resource/FileController.java index c587893..bc0eb7b 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/resource/FileController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/resource/FileController.java @@ -118,14 +118,14 @@ public class FileController { * 根据文件名查找是否存在 * @return */ - @GetMapping("/selectFileName") + @PostMapping("/selectFileName") @ApiOperation(value = "根据文件名查找是否存在并返回秘钥") public AjaxResult selectFileName(@RequestBody FileVo fileVo){ return fileService.selectFileName(fileVo.getName(), fileVo.getType()); } - @GetMapping("/selectFile") + @PostMapping("/selectFile") @ApiOperation(value = "根据文件名查找是否存在") public AjaxResult selectFile(@RequestBody FileVo fileVo){