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 });