diff --git a/cmd/server/enterprise-api.go b/cmd/server/enterprise-api.go index 9290363..de00819 100644 --- a/cmd/server/enterprise-api.go +++ b/cmd/server/enterprise-api.go @@ -2,6 +2,7 @@ package main import ( "enterprise/common/config" + "enterprise/common/global" "enterprise/server" _ "enterprise/service/salary_calculator" ) @@ -10,7 +11,7 @@ func main() { config.LoadServerConfig() config.LoadAliPay() config.LoadCorpConfig() - //global.InitGlobal() + global.InitGlobal() if err := server.Start(); err != nil { panic(err)