12345678910111213141516171819202122232425262728 |
- import { defHttp } from '/@/utils/http/axios';
- enum Api {
- systemList = '/ventanaly-device/monitor/device',
- list = '/ventanaly-device/monitor/device',
- baseList = '/safety/ventanalyManageSystem/list',
- deviceList = '/safety/ventanalyDeviceInfo/list',
- getDevice = '/ventanaly-device/monitor/device',
- }
- /**
- * 列表接口
- * @param params
- */
- export const list = (params) => defHttp.post({ url: Api.list, params });
- export const systemList = (params) => defHttp.post({ url: Api.systemList, params });
- /**
- * 保存或者更新用户
- * @param params
- */
- export const getTableList = (params) => defHttp.get({ url: Api.baseList, params });
- export const getDeviceList = (params) => defHttp.get({ url: Api.deviceList, params });
- //地下注氮系统-监测数据
- export const getDevice = (params) => defHttp.post({ url: Api.getDevice, params });
|