Merge pull request #262 from Zh1Cheung/master

[fix] Unhandled error
This commit is contained in:
奇淼(piexlmax
2020-10-27 14:51:58 +08:00
committed by GitHub
43 changed files with 1153 additions and 794 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func JWTAuth() gin.HandlerFunc {
if err!=nil {
global.GVA_LOG.Error("get redis jwt failed", zap.Any("err", err))
}else{
service.JsonInBlacklist(model.JwtBlacklist{Jwt: RedisJwtToken})
_ = service.JsonInBlacklist(model.JwtBlacklist{Jwt: RedisJwtToken})
//当之前的取成功时才进行拉黑操作
}
// 无论如何都要记录当前的活跃状态