xx
This commit is contained in:
@@ -96,6 +96,27 @@ export function deleteModel(id) {
|
||||
});
|
||||
}
|
||||
|
||||
//新增设备
|
||||
|
||||
export function addIotDevice(data) {
|
||||
return request({
|
||||
url: `/system/iotDevice/add`,
|
||||
method: 'post',
|
||||
data
|
||||
|
||||
});
|
||||
}
|
||||
//编辑设备
|
||||
|
||||
export function updateIotDevice(data) {
|
||||
return request({
|
||||
url: `/system/iotDevice/update`,
|
||||
method: 'post',
|
||||
data
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user