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