JiShe.IOT.Admin/src/JiShe.IOT.HttpApi/IOTHttpApiModule.cs

33 lines
913 B
C#
Raw Normal View History

2025-03-11 10:24:11 +08:00
using Lion.AbpPro.DataDictionaryManagement;
using Lion.AbpPro.LanguageManagement;
namespace JiShe.IOT
{
[DependsOn(
typeof(IOTApplicationContractsModule),
typeof(BasicManagementHttpApiModule),
typeof(NotificationManagementHttpApiModule),
typeof(DataDictionaryManagementHttpApiModule),
typeof(LanguageManagementHttpApiModule)
)]
public class IOTHttpApiModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
ConfigureLocalization();
}
private void ConfigureLocalization()
{
Configure<AbpLocalizationOptions>(options =>
{
options.Resources
.Get<IOTResource>()
.AddBaseTypes(
typeof(AbpUiResource)
);
});
}
}
}