feat(base): 更新用户模型字段定义
移除已注释的字段定义,包括 Name、Phone 和 Role 相关字段。 调整字段顺序并保留有效字段:Username、Password、PasswordV、HeadImg、Email、Status、Remark。
This commit is contained in:
@@ -238,8 +238,8 @@ func NewBaseSysUserService() *BaseSysUserService {
|
||||
Model: model.NewBaseSysUser(),
|
||||
InfoIgnoreProperty: "password",
|
||||
UniqueKey: map[string]string{
|
||||
// "username": "用户名不能重复",
|
||||
"email": "邮箱不能重复",
|
||||
"username": "用户名不能重复",
|
||||
"email": "邮箱不能重复",
|
||||
},
|
||||
PageQueryOp: &cool.QueryOp{
|
||||
Select: `
|
||||
|
||||
Reference in New Issue
Block a user