From 760433983d2ab722774bc3384a789f3ddf2c4dd8 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 04 八月 2026 10:01:28 +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