gaoluyang
2026-06-01 677a8679b5140ca6019f974c092de103df8f8559
src/api/inventoryManagement/stockInventory.js
@@ -111,12 +111,12 @@
    });
};
// 绑定物联设备到库存
export const bindIotDevice = (id, warehouse) => {
// 批量获取物联设备实时数采数据(POST请求,传递设备ID数组)
export const batchGetIotRealtimeData = (deviceIds) => {
    return request({
        url: `/stockInventory/bindIotDevice/${id}`,
        method: "put",
        data: { warehouse },
        url: `/stockInventory/iotRealtime`,
        method: "post",
        data: deviceIds,
    });
};