优化结构

This commit is contained in:
Yvan
2026-08-21 08:54:29 +08:00
parent c968f9f24e
commit 77e192b6c0
167 changed files with 3657 additions and 1528 deletions
+1 -3
View File
@@ -3,8 +3,6 @@ package service
import (
"context"
"encoding/json"
"kra/app/system/internal/dto"
)
func (s *SystemConfigService) PersistConfig(ctx context.Context) error {
@@ -21,6 +19,6 @@ func (s *SystemConfigService) SystemConfig() (json.RawMessage, error) {
return s.uc.ConfigurationJSON()
}
func (s *SystemConfigService) SaveSystemConfig(ctx context.Context, req *dto.SetSystemConfigRequest) error {
func (s *SystemConfigService) SaveSystemConfig(ctx context.Context, req *SetSystemConfigRequest) error {
return s.uc.SaveConfigurationJSON(ctx, req.Config)
}