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 | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/api/inventoryManagement/stockInventory.js b/src/api/inventoryManagement/stockInventory.js
index 539eedc..12f5402 100644
--- a/src/api/inventoryManagement/stockInventory.js
+++ b/src/api/inventoryManagement/stockInventory.js
@@ -103,3 +103,20 @@
});
};
+// 鑾峰彇鐗╄仈璁惧瀹炴椂鏁伴噰鏁版嵁
+export const getIotRealtimeData = (id) => {
+ return request({
+ url: `/stockInventory/iotRealtime/${id}`,
+ method: "get",
+ });
+};
+
+// 鎵归噺鑾峰彇鐗╄仈璁惧瀹炴椂鏁伴噰鏁版嵁锛圥OST璇锋眰锛屼紶閫掕澶嘔D鏁扮粍锛�
+export const batchGetIotRealtimeData = (deviceIds) => {
+ return request({
+ url: `/stockInventory/iotRealtime`,
+ method: "post",
+ data: deviceIds,
+ });
+};
+
--
Gitblit v1.9.3