feat: enhance Druid integration and improve user management features
This commit is contained in:
12
src/types/system/user.d.ts
vendored
12
src/types/system/user.d.ts
vendored
@@ -1,6 +1,4 @@
|
||||
|
||||
declare namespace API.System {
|
||||
|
||||
interface User {
|
||||
userId: number;
|
||||
deptId: number;
|
||||
@@ -26,6 +24,7 @@ declare namespace API.System {
|
||||
export interface UserListParams {
|
||||
userId?: string;
|
||||
deptId?: string;
|
||||
deptScope?: 'SELF' | 'CHILDREN';
|
||||
userName?: string;
|
||||
nickName?: string;
|
||||
userType?: string;
|
||||
@@ -49,7 +48,7 @@ declare namespace API.System {
|
||||
sorter?: string;
|
||||
}
|
||||
|
||||
export interface UserInfoResult {
|
||||
export interface UserInfoResult {
|
||||
current: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
@@ -59,13 +58,12 @@ declare namespace API.System {
|
||||
roleId: number;
|
||||
roleIds: [];
|
||||
roles: [];
|
||||
}
|
||||
}
|
||||
|
||||
export interface UserPageResult {
|
||||
export interface UserPageResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
total: number;
|
||||
rows: Array<User>;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user