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();