We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 730bf56 + d380ec2 commit 3cbad59Copy full SHA for 3cbad59
server/model/system/sys_user.go
@@ -18,6 +18,6 @@ type SysUser struct {
18
AuthorityId string `json:"authorityId" gorm:"default:888;comment:用户角色ID"` // 用户角色ID
19
Authority SysAuthority `json:"authority" gorm:"foreignKey:AuthorityId;references:AuthorityId;comment:用户角色"`
20
Authorities []SysAuthority `json:"authorities" gorm:"many2many:sys_user_authority;"`
21
- Phone string `json:"phone" gorm:"comment:用户手机号"` // 用户角色ID
+ Phone string `json:"phone" gorm:"comment:用户手机号"` // 用户手机号
22
Email string `json:"email" gorm:"comment:用户邮箱"` // 用户邮箱
23
}
0 commit comments