From 75423a317cab46e3cfd9c033d54b090e02474628 Mon Sep 17 00:00:00 2001 From: Hanpaopao <510423039@qq.com> Date: Sat, 12 Jul 2025 23:46:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=92=8C=E4=B8=8B=E8=BD=BD=E6=96=87=E4=BB=B6=E4=B8=BAPUT?= =?UTF-8?q?=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Files/FileController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnet-core/modules/FileManagement/src/Lion.AbpPro.FileManagement.HttpApi/Files/FileController.cs b/aspnet-core/modules/FileManagement/src/Lion.AbpPro.FileManagement.HttpApi/Files/FileController.cs index b75605e4..05f0bceb 100644 --- a/aspnet-core/modules/FileManagement/src/Lion.AbpPro.FileManagement.HttpApi/Files/FileController.cs +++ b/aspnet-core/modules/FileManagement/src/Lion.AbpPro.FileManagement.HttpApi/Files/FileController.cs @@ -20,7 +20,7 @@ public class FileController : AbpController, IFileAppService return await _fileAppService.PageAsync(input); } - [HttpPost("Upload")] + [HttpPut("Upload")] [SwaggerOperation(summary: "上传文件", Tags = new[] { "Files" })] public async Task UploadAsync(List files) { @@ -36,7 +36,7 @@ public class FileController : AbpController, IFileAppService } - [HttpPost("Download")] + [HttpPut("Download")] [SwaggerOperation(summary: "下载文件", Tags = new[] { "Files" })] public Task DownloadAsync(DownloadFileObjectInput input) {