JiShe.IOT.Admin/src/JiShe.IoT.HttpApi/IoTHttpApiModule.cs

47 lines
1.5 KiB
C#
Raw Normal View History

using JiShe.ServicePro.CTWingManagement;
2025-05-27 14:02:24 +08:00
using JiShe.ServicePro.DataDictionaryManagement;
2025-06-05 11:49:13 +08:00
using JiShe.ServicePro.DeviceManagement;
2025-05-27 14:02:24 +08:00
using JiShe.ServicePro.DynamicMenuManagement;
2025-05-27 22:53:46 +08:00
using JiShe.ServicePro.FileManagement;
2025-06-04 17:09:21 +08:00
using JiShe.ServicePro.IoTDBManagement;
2025-05-27 14:02:24 +08:00
using JiShe.ServicePro.LanguageManagement;
2025-07-07 13:45:55 +08:00
using JiShe.ServicePro.OneNETManagement;
2025-05-27 14:02:24 +08:00
using JiShe.ServicePro.TemplateManagement;
2025-03-11 10:24:11 +08:00
2025-05-27 14:27:50 +08:00
namespace JiShe.IoT
2025-03-11 10:24:11 +08:00
{
[DependsOn(
2025-05-27 14:27:50 +08:00
typeof(IoTApplicationContractsModule),
2025-03-11 10:24:11 +08:00
typeof(BasicManagementHttpApiModule),
typeof(NotificationManagementHttpApiModule),
typeof(DataDictionaryManagementHttpApiModule),
2025-05-27 14:02:24 +08:00
typeof(LanguageManagementHttpApiModule),
typeof(TemplateManagementHttpApiModule),
2025-05-27 22:53:46 +08:00
typeof(FileManagementHttpApiModule),
2025-06-04 17:09:21 +08:00
typeof(IoTDBManagementHttpApiModule),
2025-06-05 11:49:13 +08:00
typeof(DynamicMenuManagementHttpApiModule),
typeof(CTWingManagementHttpApiModule),
2025-07-07 13:45:55 +08:00
typeof(OneNETManagementHttpApiModule),
2025-06-05 11:49:13 +08:00
typeof(DeviceManagementHttpApiModule)
2025-03-11 10:24:11 +08:00
)]
2025-05-27 14:27:50 +08:00
public class IoTHttpApiModule : AbpModule
2025-03-11 10:24:11 +08:00
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
ConfigureLocalization();
}
private void ConfigureLocalization()
{
Configure<AbpLocalizationOptions>(options =>
{
options.Resources
2025-05-27 14:27:50 +08:00
.Get<IoTResource>()
2025-03-11 10:24:11 +08:00
.AddBaseTypes(
typeof(AbpUiResource)
);
});
}
}
}