19 lines
417 B
JavaScript
19 lines
417 B
JavaScript
import request from '@/utils/request'
|
||
|
||
//根据地块id获取首部设备
|
||
export function getOtherDeviceList(id){
|
||
return request({
|
||
url: "/system/controlOthersInterface/list/"+id,
|
||
method: "get"
|
||
})
|
||
}
|
||
|
||
|
||
// 设备控制
|
||
export function controlHeadSwitch(obj) {
|
||
return request({
|
||
url: "/system/controlHeadInterface/control",
|
||
method: "post",
|
||
data: obj
|
||
})
|
||
} |