mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-08 01:20:07 +08:00
feat: 修改 xpack 加载顺序 (#5238)
This commit is contained in:
parent
e044d92075
commit
8c929004e9
@ -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…
x
Reference in New Issue
Block a user