(query: Record<string, any>)
| 24 | |
| 25 | // 获取用户列表 |
| 26 | export function getUserList(query: Record<string, any>): Promise<BaseResult & {data: Record<string, any>[]}> { |
| 27 | return axiosInstance.post(`/api/user/list`, query); |
| 28 | } |
| 29 | |
| 30 | // 获取用户信息 |
| 31 | export function getUserInfo(data = {}): Promise<BaseResult & { data: User }> { |