Files
xj-admin/src/views/archivesManage/employee/archiveFlow/inside/inside.api.ts
T
2025-06-27 17:42:38 +08:00

14 lines
634 B
TypeScript

import { defHttp } from '/@/utils/http/axios';
enum Api {
list = '/health-system/archives/userDepartChange/interior/page',
change = '/health-system/archives/userDepartChange/interior/change',
stat = '/health-system/archives/userDepartChange/interior/stat',
getById = '/health-system/user/info/getById',
}
export const listApi = (params) => defHttp.get({ url: Api.list, params });
export const statApi = (params) => defHttp.get({ url: Api.stat, params });
export const changeApi = (params) => defHttp.post({ url: Api.change, params });
export const getByIdApi = (params) => defHttp.get({ url: Api.getById, params });