diff --git a/cmd/enterprise.go b/cmd/enterprise.go index c352d3a..1e6cc72 100644 --- a/cmd/enterprise.go +++ b/cmd/enterprise.go @@ -12,10 +12,9 @@ func main() { config.LoadServerConfig() global.InitGlobal() - worker.SyncStaffInfo() - //if err := worker.Init(); err != nil { - // panic(err) - //} + if err := worker.Init(); err != nil { + panic(err) + } if err := server.Start(); err != nil { panic(err) }