修改版本
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2025-09-03 12:13:16 +08:00
parent 4350aa6459
commit 5fa12786aa
3 changed files with 2 additions and 4 deletions

View File

@ -439,7 +439,7 @@ public class OSSService : IOSSService
var minIOConfig = ObjectStoreServiceOptions.MinIO;
Console.WriteLine(minIOConfig.ToJsonStr() +$"ossRelativePath:{ossRelativePath} localFilePath:{localFilePath} ");
//Console.WriteLine(minIOConfig.ToJsonStr() +$"ossRelativePath:{ossRelativePath} localFilePath:{localFilePath} ");
var minioClient = new MinioClient().WithEndpoint($"{minIOConfig.EndPoint}:{minIOConfig.Port}")
.WithCredentials(minIOConfig.AccessKeyId, minIOConfig.SecretAccessKey).WithSSL(minIOConfig.UseSSL)

View File

@ -53,7 +53,7 @@
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.10" />
<PackageReference Include="MimeKit" Version="4.13.0" />
<PackageReference Include="MiniExcel" Version="1.41.3" />
<PackageReference Include="Minio" Version="6.0.5" />
<PackageReference Include="Minio" Version="6.0.3" />
<PackageReference Include="MiniWord" Version="0.9.2" />
<PackageReference Include="My.Extensions.Localization.Json" Version="3.3.0">
<TreatAsUsed>true</TreatAsUsed>

View File

@ -778,12 +778,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
savePath = savePath + "/" + strArry[strArry.Length - 1];
}
Console.WriteLine($"savePath:{savePath}");
var directory = Path.GetDirectoryName(savePath);
if (!string.IsNullOrEmpty(directory) && !Directory.Exists(directory))
{
Console.WriteLine($"CreateDirectory:{directory}");
Directory.CreateDirectory(directory);
}