diff --git a/models/role.go b/models/role.go index 217e02bba..0ebbe52fc 100644 --- a/models/role.go +++ b/models/role.go @@ -22,7 +22,7 @@ const ( ) type Role struct { - RoleID int `json:"role_id", orm:"column(role_id)"` - RoleCode string `json:"role_code, orm:"column(role_code)""` - Name string `json:"role_name", orm:"column(name)"` + RoleID int `json:"role_id" orm:"column(role_id)"` + RoleCode string `json:"role_code" orm:"column(role_code)"` + Name string `json:"role_name" orm:"column(name)"` }