Skip to content

Commit e4116e7

Browse files
authored
Update sys_user.go
注释错误
1 parent 069478a commit e4116e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/model/system/sys_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ type SysUser struct {
1818
AuthorityId string `json:"authorityId" gorm:"default:888;comment:用户角色ID"` // 用户角色ID
1919
Authority SysAuthority `json:"authority" gorm:"foreignKey:AuthorityId;references:AuthorityId;comment:用户角色"`
2020
Authorities []SysAuthority `json:"authorities" gorm:"many2many:sys_user_authority;"`
21-
Phone string `json:"phone" gorm:"comment:用户手机号"` // 用户角色ID
21+
Phone string `json:"phone" gorm:"comment:用户手机号"` // 用户手机号
2222
Email string `json:"email" gorm:"comment:用户邮箱"` // 用户邮箱
2323
}

0 commit comments

Comments
 (0)