From 291bf570b2106cb99b0e689af7d6ccaacc9e5c1c Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期三, 25 十二月 2024 18:10:42 +0800
Subject: [PATCH] Merge branch 'master' of http://dlindusit.com:53929/r/iailab-plat-ui-vue3

---
 src/api/data/channel/opcua/index.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/data/channel/opcua/index.ts b/src/api/data/channel/opcua/index.ts
index f553a41..c9edeef 100644
--- a/src/api/data/channel/opcua/index.ts
+++ b/src/api/data/channel/opcua/index.ts
@@ -30,7 +30,7 @@
 
 // 新增OpcUaDevice
 export const createOpcUaDevice = (data: OpcUaDeviceVO) => {
-  return request.post({ url: '/data/channel/opcua/device/add', data })
+  return request.post({ url: '/data/channel/opcua/device/create', data })
 }
 
 // 修改OpcUaDevice
@@ -39,6 +39,6 @@
 }
 
 // 删除OpcUaDevice
-export const deleteOpcUaDevice = (id: number) => {
+export const deleteOpcUaDevice = (id: string) => {
   return request.delete({ url: '/data/channel/opcua/device/delete?id=' + id })
 }

--
Gitblit v1.9.3