优化结构

This commit is contained in:
Yvan
2026-08-21 00:10:27 +08:00
parent 746e33e027
commit 361a562f75
334 changed files with 382 additions and 379 deletions
+20
View File
@@ -0,0 +1,20 @@
package service
import (
"context"
"kra/app/system/internal/biz"
)
type SystemConfigService struct {
uc *biz.SystemConfigUsecase
settings biz.RuntimeSettings
}
func NewSystemConfigService(uc *biz.SystemConfigUsecase, settings biz.RuntimeSettings) *SystemConfigService {
return &SystemConfigService{uc: uc, settings: settings}
}
func (s *SystemConfigService) IsInitialized(ctx context.Context) (bool, error) {
return s.uc.IsInitialized(ctx)
}