Skip to content

Commit 4d8d4b7

Browse files
authored
Update jwt.go
1 parent a7bb4a7 commit 4d8d4b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/middleware/jwt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func JWTAuth() gin.HandlerFunc {
6666
if err!=nil {
6767
global.GVA_LOG.Error("get redis jwt failed", zap.Any("err", err))
6868
}else{
69-
service.JsonInBlacklist(model.JwtBlacklist{Jwt: RedisJwtToken})
69+
_ = service.JsonInBlacklist(model.JwtBlacklist{Jwt: RedisJwtToken})
7070
//当之前的取成功时才进行拉黑操作
7171
}
7272
// 无论如何都要记录当前的活跃状态

0 commit comments

Comments
 (0)