gaoluyang
2026-06-01 ab8ff90598b99b1b88b925c03e82e20ff0426fcf
src/api/inventoryManagement/stockInventory.js
@@ -103,3 +103,20 @@
    });
};
// 获取物联设备实时数采数据
export const getIotRealtimeData = (id) => {
    return request({
        url: `/stockInventory/iotRealtime/${id}`,
        method: "get",
    });
};
// 绑定物联设备到库存
export const bindIotDevice = (id, warehouse) => {
    return request({
        url: `/stockInventory/bindIotDevice/${id}`,
        method: "put",
        data: { warehouse },
    });
};