|
|
|
@ -15,8 +15,11 @@ export const loginOutApi = (): Promise<IResponse> => {
|
|
|
|
|
|
|
|
|
|
|
|
export const getUserListApi = ({ params }: AxiosConfig) => {
|
|
|
|
export const getUserListApi = ({ params }: AxiosConfig) => {
|
|
|
|
return request.get<{
|
|
|
|
return request.get<{
|
|
|
|
total: number
|
|
|
|
code: string
|
|
|
|
list: UserType[]
|
|
|
|
data: {
|
|
|
|
|
|
|
|
list: UserType[]
|
|
|
|
|
|
|
|
total: number
|
|
|
|
|
|
|
|
}
|
|
|
|
}>({ url: '/user/list', params })
|
|
|
|
}>({ url: '/user/list', params })
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|