Compare commits

..

1 Commits

Author SHA1 Message Date
ayflying
eb94e50f02 改为3天持久化 2025-11-24 11:20:18 +08:00

View File

@@ -77,7 +77,7 @@ func (s *sGameAct) Info(uid int64, actId int) (data *g.Var, err error) {
_, err = g.Redis().Set(ctx, keyCache, data)
var CacheKey = fmt.Sprintf("act:update:%d", uid)
pkg.Cache("redis").Set(ctx, CacheKey, uid, time.Hour*24*1)
pkg.Cache("redis").Set(ctx, CacheKey, uid, time.Hour*24*3)
return
}