优化:用户新增类型字段,用于标识用户是系统内置或自定义

1.系统内置用户不允许禁用、删除、变更所属角色
2.删除用户时,自动删除用户和角色关联
This commit is contained in:
2023-03-19 23:39:32 +08:00
parent ff24f3ba78
commit 139cb337d7
10 changed files with 99 additions and 17 deletions

View File

@@ -12,6 +12,7 @@ export interface UserRecord {
phone?: string;
description?: string;
status?: number;
type?: number;
pwdResetTime?: string;
createUserString?: string;
createTime?: string;