Files
shz-admin/src/services/mobileusers/list.ts
chenshaohua 30c8a7e8cf
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
first commit
2025-11-10 16:28:01 +08:00

24 lines
653 B
TypeScript

import { request } from '@umijs/max';
import { downLoadXlsx } from '@/utils/downloadfile';
export async function getCmsAppUserList(params?: API.MobileUser.ListParams) {
return request<API.MobileUser.ListResult>(`/api/cms/appUser/list`, {
method: 'GET',
params: params,
});
}
export async function getCmsAppUser(userId?: string) {
return request<API.MobileUser.ListResult>(`/api/cms/appUser/${userId}`, {
method: 'GET',
});
}
export async function exportCmsAppUserExport(params?: API.MobileUser.ListParams) {
return downLoadXlsx(
`/api/cms/appUser/export`,
{ params },
`job_data_${new Date().getTime()}.xlsx`,
);
}