缓存key删除失败不报错

This commit is contained in:
ayflying
2025-08-20 15:13:01 +08:00
parent f68655eee6
commit 0628882533
2 changed files with 6 additions and 7 deletions

View File

@@ -226,7 +226,6 @@ func (s *sGameAct) Save(ctx context.Context, actId int) (err error) {
_, err = g.Redis().Del(ctx, v)
if err != nil {
g.Log().Error(ctx, err)
return
}
}
delKey = make([]string, 0)