From f15e196eef5dae006ebae1c5ce5183706f5ed08d Mon Sep 17 00:00:00 2001 From: iamhujiebin <458249864@qq.com> Date: Thu, 31 Aug 2023 22:19:04 +0800 Subject: [PATCH] Update main.go --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 2c2a898..e848741 100755 --- a/main.go +++ b/main.go @@ -3,6 +3,7 @@ package main import ( "fmt" "git.hilo.cn/hilo-common/resource/consul" + "git.hilo.cn/hilo-common/resource/redisCli" "hilo-user/cron" "hilo-user/domain/service/event_s" "hilo-user/route" @@ -15,6 +16,7 @@ const ( ) func main() { + redisCli.AddRedisHook() cron.Init() // 开启定时任务 event_s.EventInit() // 注册事件(内部事件+mysql拟kafka) r := route.InitRouter() // 注册路由 -- 2.22.0