inspectionRecord.ts 380 Bytes
import { defHttp } from '/@/utils/http/axios';
import { omit } from 'lodash-es';

/**
 * 获取列表
 */
export const getInspectionRecordList = (params) => {
  const { page, pageSize } = params;
  const otherParams = omit(params, ['page', 'pageSize']);
  return defHttp.get<any>({
    url: `/inspectionRecord?page=${page}&pageSize=${pageSize}`,
    params: otherParams,
  });
};