We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7bb4a7 commit 4d8d4b7Copy full SHA for 4d8d4b7
server/middleware/jwt.go
@@ -66,7 +66,7 @@ func JWTAuth() gin.HandlerFunc {
66
if err!=nil {
67
global.GVA_LOG.Error("get redis jwt failed", zap.Any("err", err))
68
}else{
69
- service.JsonInBlacklist(model.JwtBlacklist{Jwt: RedisJwtToken})
+ _ = service.JsonInBlacklist(model.JwtBlacklist{Jwt: RedisJwtToken})
70
//当之前的取成功时才进行拉黑操作
71
}
72
// 无论如何都要记录当前的活跃状态
0 commit comments