【功能完善】IoT: 场景联动执行器-数据桥梁选择

This commit is contained in:
puhui999
2025-03-29 12:52:26 +08:00
parent 6b99fdb41f
commit 279d88e729
4 changed files with 17 additions and 29 deletions

View File

@@ -170,7 +170,7 @@ export const DeviceApi = {
// 根据ProductKey和DeviceNames获取设备列表
getDevicesByProductKeyAndNames: async (productKey: string, deviceNames: string[]) => {
return await request.get({
url: `/iot/device/get-by-product-key-and-names`,
url: `/iot/device/list-by-product-key-and-names`,
params: {
productKey,
deviceNames: deviceNames.join(',')

View File

@@ -124,8 +124,8 @@ export const DataBridgeApi = {
return await request.delete({ url: `/iot/data-bridge/delete?id=` + id })
},
// 导出数据桥梁 Excel
exportDataBridge: async (params) => {
return await request.download({ url: `/iot/data-bridge/export-excel`, params })
// 查询数据桥梁(精简)列表
getSimpleDataBridgeList() {
return request.get({ url: '/iot/data-bridge/simple-list' })
}
}