From cb40c1af86a50608ac7ccac0da3f0f88af8239dc Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期一, 02 九月 2024 13:25:58 +0800
Subject: [PATCH] 添加设备、点位上的字段

---
 Web/src/api/wcs/wcsDevice.ts |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/Web/src/api/wcs/wcsDevice.ts b/Web/src/api/wcs/wcsDevice.ts
index 8bd165a..f531fe1 100644
--- a/Web/src/api/wcs/wcsDevice.ts
+++ b/Web/src/api/wcs/wcsDevice.ts
@@ -7,6 +7,7 @@
   DetailWcsDevice = '/api/wcsDevice/detail',
   GetWcsPlcPlcIdDropdown = '/api/wcsDevice/WcsPlcPlcIdDropdown',
   GeneratePos = '/api/wcsDevice/GeneratePos',
+  ListWcsDevice = '/api/wcsDevice/list',
 }
 
 // 澧炲姞璁惧淇℃伅
@@ -61,4 +62,9 @@
 	method: 'post',
 	data: params
 	});
-	
\ No newline at end of file
+	
+export const listWcsDevice = () =>
+	request({
+	url: Api.ListWcsDevice,
+	method: 'get'
+	});
\ No newline at end of file

--
Gitblit v1.8.0