zhgdyun/src/api/modules/vehicle.ts
严妍 7e9264aa01 Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into dev-cjp
提交获取设备下拉框接口

   对接配电箱监测五个模块的接口,优化事件总线的使用,避免内存浪费。
2023-07-14 17:01:04 +08:00

12 lines
397 B
TypeScript

import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 获取车辆通过信息
export const getCarPassRecordApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/carPassRecord/list`, params);
};
// 获取出入场记录
export const getEntryAndExitRecordsApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/carPassRecord/getEntryAndExitRecordsToday`, params);
};