From 6329778123b2072346c6348ecc32ec31d857cb3f Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 11 Jan 2024 14:40:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/appsettings.Test_IRC.json | 7 +++++-- irc_api.drone.yml | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.API/appsettings.Test_IRC.json b/IRaCIS.Core.API/appsettings.Test_IRC.json index 15820fa89..3016d11ff 100644 --- a/IRaCIS.Core.API/appsettings.Test_IRC.json +++ b/IRaCIS.Core.API/appsettings.Test_IRC.json @@ -33,7 +33,8 @@ "useSSL": false, "accessKey": "IDFkwEpWej0b4DtiuThL", "secretKey": "Lhuu83yMhVwu7c1SnjvGY6lq74jzpYqifK6Qtj4h", - "bucketName": "test" + "bucketName": "test", + "viewEndpoint": "http://192.168.3.68:9001/test/" }, "AWS": { @@ -41,7 +42,9 @@ "useSSL": false, "accessKey": "AKIAZQ3DRSOHFPJJ6FEU", "secretKey": "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", - "bucketName": "ei-irc-test-store" + "bucketName": "ei-irc-test-store", + "viewEndpoint": "https://ei-irc-test-store.s3.amazonaws.com/" + } }, diff --git a/irc_api.drone.yml b/irc_api.drone.yml index b41aa81c1..155e89067 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -61,7 +61,6 @@ steps: - name: dockersock path: /var/run/docker.sock - volumes: - name: nuget-packages host: From 42948185f9f6870b5048169daa9208b098598288 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 11 Jan 2024 14:40:25 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9OSS=20=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E8=BF=81=E7=A7=BB4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Helper/OSSService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/IRaCIS.Core.Application/Helper/OSSService.cs b/IRaCIS.Core.Application/Helper/OSSService.cs index 869121703..57c2e9d47 100644 --- a/IRaCIS.Core.Application/Helper/OSSService.cs +++ b/IRaCIS.Core.Application/Helper/OSSService.cs @@ -32,6 +32,7 @@ namespace IRaCIS.Core.Application.Helper public string accessKey { get; set; } public string secretKey { get; set; } public string bucketName { get; set; } + public string viewEndpoint { get; set; } } public class AliyunOSSOptions