From a3296a1ab99b4f8abd523161d068c84bd784800f Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Fri, 13 Sep 2024 10:06:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86oss=20=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/TestService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/TestService.cs b/IRaCIS.Core.Application/TestService.cs index ea68d33da..fa8b47db7 100644 --- a/IRaCIS.Core.Application/TestService.cs +++ b/IRaCIS.Core.Application/TestService.cs @@ -85,7 +85,7 @@ namespace IRaCIS.Application.Services await _readingConsistentClinicalDataRepository.SaveChangesAsync(); return ResponseOutput.Ok(); } - public async Task DeleteOSSDate(string trialId, + public async Task DeleteOSSDate(string rootFolder, [FromServices] IOSSService _oSSService, [FromServices] IWebHostEnvironment _hostEnvironment) { @@ -95,7 +95,7 @@ namespace IRaCIS.Application.Services // await _oSSService.DeleteFromPrefix($"{deleteId}"); //} - await _oSSService.DeleteFromPrefix($"{trialId}"); + await _oSSService.DeleteFromPrefix($"{rootFolder}"); return ResponseOutput.Ok(); }