import { defHttp } from '/@/utils/http/axios'; enum Api { list = '/billetHotsend/billetHotsendChangeShift/list', edit = '/billetHotsend/billetHotsendChangeShift/edit', exportXls = '/billetHotsend/billetHotsendChangeShift/exportXls', } /** * 导出api * @param params */ export const getExportUrl = Api.exportXls; /** * 列表接口 * @param params */ export const list = (params) => defHttp.get({ url: Api.list, params }); // 编辑 export const edit = (params) => { return defHttp.put({ url: Api.edit, params }, { joinParamsToUrl: true }); };