监控、工单报表清洗在线用户页面
This commit is contained in:
@@ -1,9 +1,28 @@
|
||||
import request from '../request';
|
||||
import request from './request';
|
||||
|
||||
//新增物模型
|
||||
export function addDeviceModel(data) {
|
||||
return request({
|
||||
url: 'system/devicemodel/add',
|
||||
url: '/system/devicemodel/add',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
}
|
||||
|
||||
//物模型列表export function addDeviceModel(data) {
|
||||
export function getDeviceModelList(params) {
|
||||
return request({
|
||||
url: ' /iot/deviceModel/list',
|
||||
method: 'get',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
//物模型修改
|
||||
|
||||
export function updateDeviceModel(data) {
|
||||
return request({
|
||||
url: '/system/devicemodel/update',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user