|
@ -10,8 +10,8 @@ type SysUser struct { |
|
|
UUID uuid.UUID `json:"uuid"` |
|
|
UUID uuid.UUID `json:"uuid"` |
|
|
Username string `json:"userName"` |
|
|
Username string `json:"userName"` |
|
|
Password string `json:"-"` |
|
|
Password string `json:"-"` |
|
|
NickName string `json:"nickName" gorm:"default:'QMPlusUser'"` |
|
|
|
|
|
HeaderImg string `json:"headerImg" gorm:"default:'http://www.henrongyi.top/avatar/lufu.jpg'"` |
|
|
|
|
|
|
|
|
NickName string `json:"nickName" gorm:"default:'系统用户'"` |
|
|
|
|
|
HeaderImg string `json:"headerImg" gorm:"default:'http://qmplusimg.henrongyi.top/head.png'"` |
|
|
Authority SysAuthority `json:"authority" gorm:"ForeignKey:AuthorityId;AssociationForeignKey:AuthorityId"` |
|
|
Authority SysAuthority `json:"authority" gorm:"ForeignKey:AuthorityId;AssociationForeignKey:AuthorityId"` |
|
|
AuthorityId string `json:"authorityId" gorm:"default:888"` |
|
|
AuthorityId string `json:"authorityId" gorm:"default:888"` |
|
|
} |
|
|
} |