修改请求类型
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
a7c462210c
commit
9b0cde11c6
|
|
@ -1293,10 +1293,10 @@ namespace IRaCIS.Core.API.Controllers
|
|||
/// <param name="_downLoadHub"></param>
|
||||
/// <param name="inCommand"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("download/ReadingReportAndImage")]
|
||||
[HttpGet("download/ReadingReportAndImage")]
|
||||
public async Task<IActionResult> DownloadReadingReportAndImage([FromServices] IReadingImageTaskService _readingImageTaskService, [FromServices] IOSSService _oSSService,
|
||||
[FromServices] IHubContext<DownloadHub, IDownloadClient> _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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue