render user json do not return uuid
This commit is contained in:
parent
bec893d662
commit
7999c1fbe5
|
@ -20,7 +20,7 @@ import (
|
||||||
|
|
||||||
type User struct {
|
type User struct {
|
||||||
Id int64 `json:"id"`
|
Id int64 `json:"id"`
|
||||||
UUID string `json:"uuid" xorm:"'uuid'"`
|
UUID string `json:"-" xorm:"'uuid'"`
|
||||||
Username string `json:"username"`
|
Username string `json:"username"`
|
||||||
Password string `json:"-"`
|
Password string `json:"-"`
|
||||||
Dispname string `json:"dispname"`
|
Dispname string `json:"dispname"`
|
||||||
|
|
Loading…
Reference in New Issue