修復部分創建bug,數據庫api更新權限更改

This commit is contained in:
pixel
2020-04-09 11:07:43 +08:00
parent 5b29b661dc
commit d447913056
12 changed files with 45 additions and 42 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func JsonInBlacklist(c *gin.Context) {
modelJwt := model.JwtBlacklist{
Jwt: token,
}
err := service.JsonInBlacklist(&modelJwt)
err := service.JsonInBlacklist(modelJwt)
if err != nil {
response.FailWithMessage(fmt.Sprintf("jwt作废失败,%v", err), c)
} else {