From 2a34ce60433d76b544f6249ea8b1fd1a9177edf0 Mon Sep 17 00:00:00 2001 From: ayflying Date: Thu, 27 Mar 2025 11:53:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0g.redis=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E7=9A=84=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/logic/gameAct/gameAct.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logic/gameAct/gameAct.go b/internal/logic/gameAct/gameAct.go index 5b85c84..0caf718 100644 --- a/internal/logic/gameAct/gameAct.go +++ b/internal/logic/gameAct/gameAct.go @@ -231,7 +231,7 @@ func (s *sGameAct) Del(uid int64, actId int) { keyCache := fmt.Sprintf("act:%v:%v", actId, uid) //删除活动缓存 - g.Redis("redis").Del(ctx, keyCache) + g.Redis().Del(ctx, keyCache) //删除当前活动储存 g.Model(Name).Where(do.GameAct{