From ba16fceeb8ae8bbf1cec50321a67be0a03bff6e5 Mon Sep 17 00:00:00 2001 From: wenxu12345 <44203734@qq.com> Date: Tue, 10 May 2022 09:06:49 +0800 Subject: [PATCH] log --- pkg/common/token_verify/jwt_token.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/common/token_verify/jwt_token.go b/pkg/common/token_verify/jwt_token.go index 162283f87..6ead92ef7 100644 --- a/pkg/common/token_verify/jwt_token.go +++ b/pkg/common/token_verify/jwt_token.go @@ -135,6 +135,7 @@ func GetUserIDFromToken(token string, operationID string) (bool, string, string) log.Error(operationID, "ParseToken failed, ", err.Error(), token) return false, "", err.Error() } + log.Debug(operationID, "token claims.ExpiresAt.Second() ", claims.ExpiresAt.Second()) return true, claims.UID, "" }