import http from "@/api"; const BASEURL = import.meta.env.VITE_API_URL; // 获取车辆通过信息 export const getCarPassRecordApi = (params: {}) => { return http.post(BASEURL + `/xmgl/carPassRecord/newestCarPassRecord`, params, { headers: { noLoading: true } }); }; // 获取出入场记录 export const getEntryAndExitRecordsApi = (params: {}) => { return http.post(BASEURL + `/xmgl/carPassRecord/getCarPassRecordList`, params); }; // 获取出入场车辆统计 export const getEntryAndExitCountApi = (params: {}) => { return http.get(BASEURL + `/xmgl/carPassRecord/getTodayOutInNumber`, params, { headers: { noLoading: true } }); }; // 获取出入场车辆列表 export const getEntryAndExitListApi = (params: {}) => { return http.post(BASEURL + `/xmgl/carPassRecord/page`, params, { headers: { noLoading: true } }); };