worker.InitCorp()
This commit is contained in:
parent
b9c0e5174e
commit
f7698ca4f3
|
@ -5,6 +5,7 @@ import (
|
||||||
"enterprise/common/global"
|
"enterprise/common/global"
|
||||||
"enterprise/server"
|
"enterprise/server"
|
||||||
_ "enterprise/service/salary_calculator"
|
_ "enterprise/service/salary_calculator"
|
||||||
|
"enterprise/worker"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -12,6 +13,7 @@ func main() {
|
||||||
config.LoadAliPay()
|
config.LoadAliPay()
|
||||||
global.InitGlobal()
|
global.InitGlobal()
|
||||||
|
|
||||||
|
worker.InitCorp()
|
||||||
if err := server.Start(); err != nil {
|
if err := server.Start(); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue