feat(internal): 集成 Redis 缓存并更新相关逻辑- 在 config.yaml 中修改 Redis配置,使用 db 1- 在 go.mod 中添加 redis相关依赖

- 更新 hero
This commit is contained in:
hxt
2025-06-21 20:57:42 +08:00
parent c5c273f0ab
commit 9926dfea9e
5 changed files with 31 additions and 12 deletions

View File

@@ -4,6 +4,7 @@ import (
_ "epic/internal/logic"
_ "epic/internal/packed"
_ "github.com/gogf/gf/contrib/drivers/mysql/v2"
_ "github.com/gogf/gf/contrib/nosql/redis/v2"
"github.com/gogf/gf/v2/os/gctx"
"epic/internal/cmd"