Fixed bug that can not create jwt black record

This commit is contained in:
Granty1
2020-04-08 19:37:38 +08:00
parent d198856633
commit a9651d1ce4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
// @description create jwt blacklist
// @auth (2020/04/05 20:22 )
// @return err error
func JsonInBlacklist(j model.JwtBlacklist) (err error) {
func JsonInBlacklist(j *model.JwtBlacklist) (err error) {
err = global.GVA_DB.Create(j).Error
return
}