inspectionPlan.ts
376 Bytes
import { defHttp } from '/@/utils/http/axios';
import { omit } from 'lodash-es';
/**
* 获取列表
*/
export const getInspectionPlanList = (params) => {
const { page, pageSize } = params;
const otherParams = omit(params, ['page', 'pageSize']);
return defHttp.get<any>({
url: `/inspectionPlan?page=${page}&pageSize=${pageSize}`,
params: otherParams,
});
};