feat: add cron msg

This commit is contained in:
engigu
2024-04-11 17:20:36 +08:00
parent 17a99a67e6
commit a78ff937c0
18 changed files with 1144 additions and 5 deletions
+2
View File
@@ -11,6 +11,7 @@ import (
"message-nest/pkg/logging"
"message-nest/pkg/setting"
"message-nest/routers"
"message-nest/service/cron_msg_service"
"message-nest/service/cron_service"
"net/http"
"os"
@@ -34,6 +35,7 @@ func init() {
func main() {
cron_service.StartLogsCronRun()
cron_msg_service.StartUpMsgCronTask()
gin.SetMode(setting.ServerSetting.RunMode)
routersInit := routers.InitRouter(f)