This commit is contained in:
2026-08-15 03:14:56 +08:00
parent a34133cce5
commit 2a3c55bb53
71 changed files with 1445 additions and 1076 deletions
+4 -5
View File
@@ -4,16 +4,15 @@ import (
"context"
"kra/internal/biz"
"kra/internal/conf"
)
type SystemConfigService struct {
uc *biz.SystemConfigUsecase
runtime *conf.Runtime
uc *biz.SystemConfigUsecase
settings biz.RuntimeSettings
}
func NewSystemConfigService(uc *biz.SystemConfigUsecase, runtime *conf.Runtime) *SystemConfigService {
return &SystemConfigService{uc: uc, runtime: runtime}
func NewSystemConfigService(uc *biz.SystemConfigUsecase, settings biz.RuntimeSettings) *SystemConfigService {
return &SystemConfigService{uc: uc, settings: settings}
}
func (s *SystemConfigService) IsInitialized(ctx context.Context) (bool, error) {