【功能完善】IoT: 场景联动执行器-数据桥梁选择
This commit is contained in:
@@ -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(',')
|
||||
|
||||
@@ -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' })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user