diff --git a/IRaCIS.Core.API/appsettings.Test_IRC.json b/IRaCIS.Core.API/appsettings.Test_IRC.json index 078086d1d..b99124cde 100644 --- a/IRaCIS.Core.API/appsettings.Test_IRC.json +++ b/IRaCIS.Core.API/appsettings.Test_IRC.json @@ -19,10 +19,10 @@ "RegionId": "cn-shanghai", "InternalEndpoint": "https://oss-cn-shanghai-internal.aliyuncs.com", "EndPoint": "https://oss-cn-shanghai.aliyuncs.com", - "AccessKeyId": "LTAI5tJV76pYX5yPg1N9QVE8", - "AccessKeySecret": "roRNLa9YG1of4pYruJGCNKBXEWTAWa", + "AccessKeyId": "LTAI5tRRZehUp2V9pyTPtAJm", + "AccessKeySecret": "FLizxkHsMm4CGYHtkV8E3PNJJZU7oV", + "RoleArn": "acs:ram::1899121822495495:role/dev-oss-access", "BucketName": "zy-irc-test-store", - "RoleArn": "acs:ram::1899121822495495:role/webdirect", "ViewEndpoint": "https://zy-irc-test-store.oss-cn-shanghai.aliyuncs.com", "Region": "oss-cn-shanghai", "DurationSeconds": 7200 diff --git a/IRaCIS.Core.API/appsettings.Uat_IRC.json b/IRaCIS.Core.API/appsettings.Uat_IRC.json index 1493f5f84..087236feb 100644 --- a/IRaCIS.Core.API/appsettings.Uat_IRC.json +++ b/IRaCIS.Core.API/appsettings.Uat_IRC.json @@ -18,10 +18,10 @@ "RegionId": "cn-shanghai", "InternalEndpoint": "https://oss-cn-shanghai-internal.aliyuncs.com", "EndPoint": "https://oss-cn-shanghai.aliyuncs.com", - "AccessKeyId": "LTAI5tJV76pYX5yPg1N9QVE8", - "AccessKeySecret": "roRNLa9YG1of4pYruJGCNKBXEWTAWa", + "AccessKeyId": "LTAI5tRRZehUp2V9pyTPtAJm", + "AccessKeySecret": "FLizxkHsMm4CGYHtkV8E3PNJJZU7oV", + "RoleArn": "acs:ram::1899121822495495:role/dev-oss-access", "BucketName": "zy-irc-uat-store", - "RoleArn": "acs:ram::1899121822495495:role/webdirect", "ViewEndpoint": "https://zy-irc-uat-store.oss-cn-shanghai.aliyuncs.com", "Region": "oss-cn-shanghai", "DurationSeconds": 7200 diff --git a/IRaCIS.Core.Application/TestService.cs b/IRaCIS.Core.Application/TestService.cs index fa8b47db7..d8876bcac 100644 --- a/IRaCIS.Core.Application/TestService.cs +++ b/IRaCIS.Core.Application/TestService.cs @@ -67,7 +67,7 @@ namespace IRaCIS.Application.Services public async Task DeleteConsistentDate(Guid trialReadingCriterionId, [FromServices] IRepository _taskConsistentRuleRepository, [FromServices] IRepository _readingConsistentClinicalDataPDFRepository, - [FromServices] IRepository _readingConsistentClinicalDataRepository + [FromServices] IRepository _readingConsistentClinicalDataRepository ) {