gaoluyang
2026-06-22 bc365ef47ae4e01754aeadbae26170e11c9bb80e
src/api/inventoryManagement/stockInventory.js
@@ -103,3 +103,20 @@
    });
};
// 获取物联设备实时数采数据
export const getIotRealtimeData = (id) => {
    return request({
        url: `/stockInventory/iotRealtime/${id}`,
        method: "get",
    });
};
// 批量获取物联设备实时数采数据(POST请求,传递设备ID数组)
export const batchGetIotRealtimeData = (deviceIds) => {
    return request({
        url: `/stockInventory/iotRealtime`,
        method: "post",
        data: deviceIds,
    });
};