修改配置文件
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
32ee818be8
commit
b2bcc37dab
|
|
@ -19,7 +19,7 @@
|
|||
<PackageReference Include="fo-dicom.Imaging.ImageSharp" Version="5.2.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.10" />
|
||||
<PackageReference Include="AutoMapper" Version="13.0.1" />
|
||||
<PackageReference Include="Minio" Version="6.0.4" />
|
||||
<PackageReference Include="Minio" Version="7.0.0" />
|
||||
<PackageReference Include="My.Extensions.Localization.Json" Version="3.3.0">
|
||||
<TreatAsUsed>true</TreatAsUsed>
|
||||
</PackageReference>
|
||||
|
|
|
|||
|
|
@ -222,13 +222,13 @@ public class OSSService : IOSSService
|
|||
|
||||
var putResponse = await minioClient.PutObjectAsync(putObjectArgs);
|
||||
|
||||
if (putResponse.ResponseStatusCode == HttpStatusCode.OK)
|
||||
{
|
||||
if (putResponse.ResponseStatusCode == HttpStatusCode.OK)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new BusinessValidationFailedException($"上传发生异常:{putResponse.ResponseContent}");
|
||||
throw new BusinessValidationFailedException($"上传失败ResponseStatusCode:{putResponse.ResponseStatusCode}{putResponse.ResponseContent}");
|
||||
}
|
||||
}
|
||||
else if (ObjectStoreServiceOptions.ObjectStoreUse == "AWS")
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
"ObjectStoreService": {
|
||||
"ObjectStoreUse": "MinIO",
|
||||
"MinIO": {
|
||||
"EndPoint": "47.102.87.18",
|
||||
"EndPoint": "47.102.87.183",
|
||||
"Port": "9000",
|
||||
"UseSSL": false,
|
||||
"AccessKeyId": "fbStsVYCIPKHQneeqMwD",
|
||||
|
|
|
|||
Loading…
Reference in New Issue