Browse Source

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

pull/5241/head
zhengkunwang 6 months ago committed by GitHub
parent
commit
8c929004e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      backend/server/server.go

2
backend/server/server.go

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

Loading…
Cancel
Save