jsy-app/api/system/controlOtherInterface.js
2024-12-19 18:12:16 +08:00

19 lines
417 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
})
}