From 677a8679b5140ca6019f974c092de103df8f8559 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 01 六月 2026 17:52:16 +0800
Subject: [PATCH] 新疆马铃薯 1.库存管理绑定设备,添加查看数采功能

---
 src/api/inventoryManagement/stockInventory.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index 0671391..12f5402 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -111,12 +111,12 @@
     });
 };
 
-// 缁戝畾鐗╄仈璁惧鍒板簱瀛�
-export const bindIotDevice = (id, warehouse) => {
+// 鎵归噺鑾峰彇鐗╄仈璁惧瀹炴椂鏁伴噰鏁版嵁锛圥OST璇锋眰锛屼紶閫掕澶嘔D鏁扮粍锛�
+export const batchGetIotRealtimeData = (deviceIds) => {
     return request({
-        url: `/stockInventory/bindIotDevice/${id}`,
-        method: "put",
-        data: { warehouse },
+        url: `/stockInventory/iotRealtime`,
+        method: "post",
+        data: deviceIds,
     });
 };
 

--
Gitblit v1.9.3