From 795ca25a94a89faedb781c81e9a0c396316e8950 Mon Sep 17 00:00:00 2001 From: zhangb Date: Wed, 12 Jan 2022 17:34:59 +0800 Subject: [PATCH] gtoken v1.5.0 --- gtoken/gtoken.go | 1 - 1 file changed, 1 deletion(-) diff --git a/gtoken/gtoken.go b/gtoken/gtoken.go index 698ed6d..a0ea949 100644 --- a/gtoken/gtoken.go +++ b/gtoken/gtoken.go @@ -293,7 +293,6 @@ func (m *GfToken) getToken(ctx context.Context, userKey string) Resp { if gconv.Int64(refreshTime) == 0 || nowTime > gconv.Int64(refreshTime) { userCache[KeyCreateTime] = gtime.Now().TimestampMilli() userCache[KeyRefreshTime] = gtime.Now().TimestampMilli() + gconv.Int64(m.MaxRefresh) - g.Log().Debug(ctx, "[GToken]refreshToken:"+gconv.String(userCache)) return m.setCache(ctx, cacheKey, userCache) }