fix: align admin behavior and Kratos integrations

This commit is contained in:
2026-08-14 14:14:51 +08:00
parent 8c4c6ba661
commit e0b0e1d8c8
123 changed files with 4334 additions and 1877 deletions
+3 -3
View File
@@ -9,12 +9,12 @@ import (
type SystemService struct {
uc *biz.SystemUsecase
config *conf.AdminBackend
runtime *conf.Runtime
settings *SettingsService
}
func NewSystemService(uc *biz.SystemUsecase, config *conf.AdminBackend, settings *SettingsService) *SystemService {
return &SystemService{uc: uc, config: config, settings: settings}
func NewSystemService(uc *biz.SystemUsecase, runtime *conf.Runtime, settings *SettingsService) *SystemService {
return &SystemService{uc: uc, runtime: runtime, settings: settings}
}
func (s *SystemService) IsInitialized(ctx context.Context) (bool, error) {