refactor(platform): split control plane services

This commit is contained in:
2026-08-04 09:37:49 +08:00
parent 087ca78af5
commit c06cf4a4f7
22 changed files with 586 additions and 437 deletions

View File

@@ -14,7 +14,13 @@ internal static class PlatformModule
{
internal static IServiceCollection AddPlatformModule(this IServiceCollection services)
{
services.AddScoped<IPlatformAdminService, PlatformAdminService>();
services.AddScoped<PlatformAdministrationDependencies>();
services.AddScoped<IPlatformDashboardService, PlatformDashboardService>();
services.AddScoped<ITenantProvisioningAdministrationService, TenantProvisioningAdministrationService>();
services.AddScoped<IPlatformTenantDomainService, PlatformTenantDomainService>();
services.AddScoped<IPlatformStaffAccessService, PlatformStaffAccessService>();
services.AddScoped<IPlatformAuditAlertService, PlatformAuditAlertService>();
services.AddScoped<IPlatformDunningService, PlatformDunningService>();
services.AddScoped<IBackgroundJobHandler, TenantExportJobHandler>();
services.AddScoped<IPlatformOperationsQueryService, PlatformOperationsQueryService>();
services.AddOptions<TenantProvisioningOptions>();