1234567891011121314151617181920212223 |
- import { defHttp } from '/@/utils/http/axios';
- enum Api {
- systemList = '/monitor/device',
- list = '/monitor/system',
- baseList = '/safety/ventanalyManageSystem/list',
- deviceList = '/safety/ventanalyDeviceInfo/list',
- }
- /**
- * 列表接口
- * @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 });
|