pointChange

This commit is contained in:
songzhibin97
2020-11-22 18:05:51 +08:00
parent b45afe9669
commit 1ddd6dac4f
31 changed files with 111 additions and 114 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ import (
func JsonInBlacklist(c *gin.Context) {
token := c.Request.Header.Get("x-token")
jwt := model.JwtBlacklist{Jwt: token}
if err := service.JsonInBlacklist(jwt); err != nil {
if err := service.JsonInBlacklist(&jwt); err != nil {
global.GVA_LOG.Error("jwt作废失败!", zap.Any("err", err))
response.FailWithMessage("jwt作废失败", c)
} else {