30 lines
543 B
TypeScript
30 lines
543 B
TypeScript
import request from '@/utils/request';
|
|
import { AxiosPromise } from 'axios';
|
|
|
|
/**
|
|
* 用户信息对象
|
|
*/
|
|
export interface XgSysUser {
|
|
userId: number | string;
|
|
userName: string;
|
|
nickName: string;
|
|
email: string;
|
|
phonenumber: string;
|
|
sex: string;
|
|
status: string;
|
|
createTime: string;
|
|
updateTime: string;
|
|
deptId: number;
|
|
deptName: string;
|
|
}
|
|
|
|
/**
|
|
* 查询有效用户列表
|
|
*/
|
|
export function getActiveUserList(): AxiosPromise<XgSysUser[]> {
|
|
return request({
|
|
url: '/xg/sysUser/activeList',
|
|
method: 'get'
|
|
});
|
|
}
|