feat: 添加独立其他设置菜单及有效端参数保存

This commit is contained in:
Yvan
2026-11-04 21:18:31 +08:00
parent c2e8b729be
commit ca9ce99b66
27 changed files with 805 additions and 9 deletions
+5
View File
@@ -82,6 +82,10 @@ func wireApp(configServer *config.Server, store *config.Store, logger *slog.Logg
auditRecorderUsecase := system2.NewAuditRecorderUsecase(auditRecordRepo)
auditRecorder := system3.NewAuditRecorder(auditRecorderUsecase)
registry := taskRegistry()
otherSettingsRepo := business.NewOtherSettingsRepo(dataData)
otherSettingsUsecase := business2.NewOtherSettingsUsecase(otherSettingsRepo)
otherSettingsService := business3.NewOtherSettingsService(otherSettingsUsecase)
otherSettings := handler.NewOtherSettings(otherSettingsService)
rankingRepo := business.NewRankingRepo(dataData)
accountRepo := business.NewAccountRepo(dataData)
accountUsecase := business2.NewAccountUsecase(accountRepo)
@@ -247,6 +251,7 @@ func wireApp(configServer *config.Server, store *config.Store, logger *slog.Logg
integrationConfigService := integration2.NewIntegrationConfigService(integrationConfigUsecase)
integrationConfig := handler.NewIntegrationConfig(integrationConfigService)
set := &handler.Set{
OtherSettings: otherSettings,
Ranking: ranking,
Workbench: workbench,
ServerAnalysis: serverAnalysis,