excel批量导入设备 配置成功

This commit is contained in:
mmc
2026-09-03 11:09:42 +08:00
parent 319ea96b30
commit 00a30b9dac
5 changed files with 47 additions and 2 deletions

View File

@@ -198,6 +198,19 @@ export function unbindSmartDevice(data) {
})
}
// 批量导入绑定智能装备(上传 Excel)
// 上传文件必须用 data(FormData)且带 multipart/form-data 头
export function importBindDevices(data) {
return request({
url: '/iot/deviceRunParam/importData',
method: 'post',
data,
headers: {
'Content-Type': 'multipart/form-data'
}
})
}
// 直播心跳
export function postLiveHeartbeat(data) {