feat: 迁移渠道激活列表和绑定期间流水

This commit is contained in:
Yvan
2026-11-03 20:53:25 +08:00
parent 838c2c496f
commit 8908430a89
28 changed files with 1180 additions and 9 deletions
+6 -1
View File
@@ -82,9 +82,13 @@ func wireApp(configServer *config.Server, store *config.Store, logger *slog.Logg
auditRecorderUsecase := system2.NewAuditRecorderUsecase(auditRecordRepo)
auditRecorder := system3.NewAuditRecorder(auditRecorderUsecase)
registry := taskRegistry()
alertRecordRepo := business.NewAlertRecordRepo(dataData)
activationRepo := business.NewActivationRepo(dataData, dataData)
accountRepo := business.NewAccountRepo(dataData)
accountUsecase := business2.NewAccountUsecase(accountRepo)
activationUsecase := business2.NewActivationUsecase(activationRepo, accountUsecase)
activationService := business3.NewActivationService(activationUsecase)
activation := handler.NewActivation(activationService)
alertRecordRepo := business.NewAlertRecordRepo(dataData)
alertRecordUsecase := business2.NewAlertRecordUsecase(alertRecordRepo, accountUsecase)
alertRecordService := business3.NewAlertRecordService(alertRecordUsecase)
alertRecord := handler.NewAlertRecord(alertRecordService)
@@ -209,6 +213,7 @@ func wireApp(configServer *config.Server, store *config.Store, logger *slog.Logg
integrationConfigService := integration2.NewIntegrationConfigService(integrationConfigUsecase)
integrationConfig := handler.NewIntegrationConfig(integrationConfigService)
set := &handler.Set{
Activation: activation,
AlertRecord: alertRecord,
AlertRule: alertRule,
BusinessPromote: businessPromote,