mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 完成用户列表
This commit is contained in:
@ -34,3 +34,19 @@ export function fetchBatchDeleteUser(userIds: CommonType.IdType[]) {
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
|
||||
/** 根据用户编号获取详细信息 */
|
||||
export function fetchGetUserInfo(userId?: CommonType.IdType) {
|
||||
return request<Api.System.UserInfo>({
|
||||
url: `/system/user/${userId}`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
/** 获取部门树列表 */
|
||||
export function fetchGetDeptTree() {
|
||||
return request<Api.Common.CommonTreeRecord>({
|
||||
url: '/system/user/deptTree',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user