feat(base): 更新用户模型字段定义

移除已注释的字段定义,包括 Name、Phone 和 Role 相关字段。
调整字段顺序并保留有效字段:Username、Password、PasswordV、HeadImg、Email、Status、Remark。
This commit is contained in:
2025-10-13 23:49:59 +08:00
parent eff23d5bd0
commit 14b7b03cef
2 changed files with 5 additions and 6 deletions

View File

@@ -238,8 +238,8 @@ func NewBaseSysUserService() *BaseSysUserService {
Model: model.NewBaseSysUser(),
InfoIgnoreProperty: "password",
UniqueKey: map[string]string{
// "username": "用户名不能重复",
"email": "邮箱不能重复",
"username": "用户名不能重复",
"email": "邮箱不能重复",
},
PageQueryOp: &cool.QueryOp{
Select: `