|
|
|
@ -1,5 +1,6 @@ |
|
|
|
using DotNetCore.CAP; |
|
|
|
using LINGYUN.Abp.AspNetCore.MultiTenancy; |
|
|
|
using LINGYUN.Abp.BlobStoring.OssManagement; |
|
|
|
using LINGYUN.Abp.Localization.CultureMap; |
|
|
|
using LINGYUN.Abp.LocalizationManagement; |
|
|
|
using LINGYUN.Abp.MicroService.AuthServer.Ui.Branding; |
|
|
|
@ -163,6 +164,22 @@ public partial class AuthServerModule |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private void ConfigureBlobStoring(IConfiguration configuration) |
|
|
|
{ |
|
|
|
Configure<AbpBlobStoringOptions>(options => |
|
|
|
{ |
|
|
|
// all container use oss management
|
|
|
|
options.Containers.ConfigureAll((containerName, containerConfiguration) => |
|
|
|
{ |
|
|
|
// use oss management
|
|
|
|
containerConfiguration.UseOssManagement(config => |
|
|
|
{ |
|
|
|
config.Bucket = configuration[OssManagementBlobProviderConfigurationNames.Bucket]; |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
private void ConfigureMvc(IServiceCollection services, IConfiguration configuration) |
|
|
|
{ |
|
|
|
Configure<AbpAspNetCoreMvcOptions>(options => |
|
|
|
|