From 06e12316eb99d99c77c56d86d20538acda48ddf9 Mon Sep 17 00:00:00 2001 From: zhontai <361243234@qq.com> Date: Thu, 12 Jan 2023 16:23:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Doss=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E9=85=8D=E7=BD=AEregion=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ZhonTai.Admin/Core/Extensions/ServiceCollectionExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/ZhonTai.Admin/Core/Extensions/ServiceCollectionExtensions.cs b/src/platform/ZhonTai.Admin/Core/Extensions/ServiceCollectionExtensions.cs index 8b12456b..c266cb30 100644 --- a/src/platform/ZhonTai.Admin/Core/Extensions/ServiceCollectionExtensions.cs +++ b/src/platform/ZhonTai.Admin/Core/Extensions/ServiceCollectionExtensions.cs @@ -63,6 +63,7 @@ public static IServiceCollection AddOSS(this IServiceCollection services) option.SecretKey = oSSOptions.SecretKey; option.IsEnableHttps = oSSOptions.IsEnableHttps; option.IsEnableCache = oSSOptions.IsEnableCache; + option.Region = oSSOptions.Region; }); var oSSServiceFactory = services.BuildServiceProvider().GetRequiredService();