diff --git a/src/api/ems/record/recordIOTInstant.js b/src/api/ems/record/recordIOTInstant.js new file mode 100644 index 0000000..55278d9 --- /dev/null +++ b/src/api/ems/record/recordIOTInstant.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询物联网实时数据列表 +export function listRecordIOTInstant(query) { + return request({ + url: '/ems/record/recordIOTInstant/list', + method: 'get', + params: query + }) +} + +// 查询物联网实时数据详细 +export function getRecordIOTInstant(objid) { + return request({ + url: '/ems/record/recordIOTInstant/' + objid, + method: 'get' + }) +} + +// 新增物联网实时数据 +export function addRecordIOTInstant(data) { + return request({ + url: '/ems/record/recordIOTInstant', + method: 'post', + data: data + }) +} + +// 修改物联网实时数据 +export function updateRecordIOTInstant(data) { + return request({ + url: '/ems/record/recordIOTInstant', + method: 'put', + data: data + }) +} + +// 删除物联网实时数据 +export function delRecordIOTInstant(objid) { + return request({ + url: '/ems/record/recordIOTInstant/' + objid, + method: 'delete' + }) +}