mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 10:12:59 +00:00
更新gf版本为v1.14.0 添加按钮权限 友情链接完善 cms模板选择
This commit is contained in:
@@ -87,7 +87,7 @@ func GetOnlineInfo(token string) g.Map {
|
||||
cacheKey := boot.AdminGfToken.CacheKey + userKey
|
||||
switch boot.AdminGfToken.CacheMode {
|
||||
case gtoken.CacheModeCache:
|
||||
userCacheValue := gcache.Get(cacheKey)
|
||||
userCacheValue, _ := gcache.Get(cacheKey)
|
||||
if userCacheValue == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user