智能装备绑定解绑

This commit is contained in:
mmc
2026-05-26 13:44:59 +08:00
parent 6a8ea3ba1e
commit ce097f78d6
2 changed files with 303 additions and 17 deletions

View File

@@ -165,6 +165,33 @@ export function unbindDrone(data) {
})
}
// 获取所有智能装备列表
export function getSmartDeviceList(params) {
return request({
url: '/iot/device/list',
method: 'get',
params
})
}
// 绑定智能装备
export function bindSmartDevice(data) {
return request({
url: '/iot/device/bind',
method: 'post',
data
})
}
// 解绑智能装备
export function unbindSmartDevice(data) {
return request({
url: '/iot/device/unbind',
method: 'post',
data
})
}
// 直播心跳
export function postLiveHeartbeat(data) {
@@ -177,3 +204,4 @@ export function postLiveHeartbeat(data) {