init
This commit is contained in:
parent
8a685c0f00
commit
ca14733b17
|
@ -2,6 +2,7 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"enterprise/common/config"
|
"enterprise/common/config"
|
||||||
|
"enterprise/common/global"
|
||||||
"enterprise/server"
|
"enterprise/server"
|
||||||
_ "enterprise/service/salary_calculator"
|
_ "enterprise/service/salary_calculator"
|
||||||
)
|
)
|
||||||
|
@ -10,7 +11,7 @@ func main() {
|
||||||
config.LoadServerConfig()
|
config.LoadServerConfig()
|
||||||
config.LoadAliPay()
|
config.LoadAliPay()
|
||||||
config.LoadCorpConfig()
|
config.LoadCorpConfig()
|
||||||
//global.InitGlobal()
|
global.InitGlobal()
|
||||||
|
|
||||||
if err := server.Start(); err != nil {
|
if err := server.Start(); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Reference in New Issue