x
Build docker and publish / build (20.15.1) (push) Successful in 6m35s

This commit is contained in:
2026-04-04 11:46:06 -07:00
parent e818ac8764
commit 62cf68b49b
5 changed files with 652 additions and 14 deletions
+1 -2
View File
@@ -5,7 +5,6 @@ import (
"github.com/perfect-panel/server/pkg/logger"
"github.com/perfect-panel/server/internal/config"
"github.com/perfect-panel/server/internal/svc"
"github.com/perfect-panel/server/pkg/tool"
)
@@ -17,7 +16,7 @@ func Register(ctx *svc.ServiceContext) {
logger.Errorf("[Init Register Config] Get Register Config Error: %s", err.Error())
return
}
var registerConfig config.RegisterConfig
registerConfig := ctx.Config.Register
tool.SystemConfigSliceReflectToStruct(configs, &registerConfig)
ctx.Config.Register = registerConfig
}