feat: 修改 xpack 加载顺序 (#5238)

This commit is contained in:
zhengkunwang 2024-05-31 17:33:21 +08:00 committed by GitHub
parent e044d92075
commit 8c929004e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,6 @@ func Start() {
log.Init()
db.Init()
migration.Init()
InitOthers()
app.Init()
validator.Init()
gob.Register(psession.SessionUser{})
@ -45,6 +44,7 @@ func Start() {
session.Init()
gin.SetMode("debug")
cron.Run()
InitOthers()
business.Init()
hook.Init()