修复缓存可能遇到的问题

This commit is contained in:
ayflying
2025-03-10 19:00:29 +08:00
parent 92a127e128
commit f8ec441241
9 changed files with 84 additions and 54 deletions

View File

@@ -2,7 +2,7 @@ package act
import (
"fmt"
"github.com/ayflying/utility_go/package/aycache"
"github.com/ayflying/utility_go/pgk"
"github.com/ayflying/utility_go/service"
"github.com/gogf/gf/v2/container/gvar"
"github.com/gogf/gf/v2/os/gctx"
@@ -11,7 +11,7 @@ import (
)
var (
Cache = aycache.New()
Cache = pgk.Cache("redis")
ActIdListIsShow map[int]func(uid int64) bool
RedDotList map[string]func(uid int64) int32
)