From 9b0cde11c634b965dddfecf605ab85832bd9c935 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 27 May 2026 16:33:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=B7=E6=B1=82=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/Controllers/UploadDownLoadController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs b/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs index 959b403cf..12c44211d 100644 --- a/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs +++ b/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs @@ -1293,10 +1293,10 @@ namespace IRaCIS.Core.API.Controllers /// /// /// - [HttpPost("download/ReadingReportAndImage")] + [HttpGet("download/ReadingReportAndImage")] public async Task DownloadReadingReportAndImage([FromServices] IReadingImageTaskService _readingImageTaskService, [FromServices] IOSSService _oSSService, [FromServices] IHubContext _downLoadHub, - [FromForm] GetReadingReportAndImageInDto inCommand) + [FromQuery] GetReadingReportAndImageInDto inCommand) { Response.ContentType = "application/zip"; Response.Headers["Content-Disposition"] = $"attachment; filename=Image_{ExportExcelConverterDate.DateTimeInternationalToString(DateTime.Now, _userInfo.TimeZoneId)}.zip";