From 92a44fb645f2ee98477c3c68bfd62b9a076fdbef Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Fri, 19 Jul 2024 15:16:45 +0800 Subject: [PATCH] fix token --- library/middleware/jwt_authenticator.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/middleware/jwt_authenticator.go b/library/middleware/jwt_authenticator.go index 60b49986..5626ca6c 100644 --- a/library/middleware/jwt_authenticator.go +++ b/library/middleware/jwt_authenticator.go @@ -14,8 +14,6 @@ var ( func InitJwtAuthenticator(verifyFunc func(*gin.Context, string) error) { DefaultJwtAuthenticator = func(ctx *gin.Context) { - return - //1.获取token baseRequest, ok := ctx.MustGet("client_req").(base.BaseRequestAccessible) if !ok {