worker.InitCorp()

This commit is contained in:
jiangyong27 2025-03-06 17:50:32 +08:00
parent b9c0e5174e
commit f7698ca4f3
1 changed files with 2 additions and 0 deletions

View File

@ -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)
} }