修复缓存可能遇到的问题
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user