修改了默认user.app

This commit is contained in:
lik
2026-05-25 12:30:14 +08:00
parent 603f2987f6
commit 803d8b7bfb
2 changed files with 2 additions and 8 deletions

View File

@@ -68,13 +68,6 @@ const UserSchema = mongoose.Schema(
},
app: {
admin: {
role: [{ type: String, enum: ["admin"], comment: '用户在admin应用中的权限' }],
},
// 中医相关信息 - 用户在中医系统中的角色和权限
attendant: {
role: [{ type: String, enum: ["admin", "attendant", "patient"], comment: '用户在attendant应用中的权限' }],
},
},
// 元数据 - 系统管理信息