25 lines
954 B
C#
25 lines
954 B
C#
|
|
using JiShe.ServicePro.CodeManagement;
|
||
|
|
using JiShe.ServicePro.DynamicMenuManagement;
|
||
|
|
using JiShe.ServicePro.TemplateManagement;
|
||
|
|
|
||
|
|
namespace JiShe.ServicePro
|
||
|
|
{
|
||
|
|
[DependsOn(
|
||
|
|
typeof(ServiceProDomainSharedModule),
|
||
|
|
typeof(BasicManagementDomainModule),
|
||
|
|
typeof(NotificationManagementDomainModule),
|
||
|
|
typeof(DataDictionaryManagementDomainModule),
|
||
|
|
typeof(LanguageManagementDomainModule),
|
||
|
|
typeof(CodeManagementDomainModule),
|
||
|
|
typeof(TemplateManagementDomainModule),
|
||
|
|
typeof(DynamicMenuManagementDomainModule)
|
||
|
|
)]
|
||
|
|
public class ServiceProDomainModule : AbpModule
|
||
|
|
{
|
||
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
||
|
|
{
|
||
|
|
Configure<AbpMultiTenancyOptions>(options => { options.IsEnabled = MultiTenancyConsts.IsEnabled; });
|
||
|
|
Configure<AbpAutoMapperOptions>(options => { options.AddMaps<ServiceProDomainModule>(); });
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|