gaoluyang
2026-06-02 7c2cdcbc7f5585b96fba76a07b0e4417a09c4d7e
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,
    });
};