From 83bbceeca584500a9902ce1677a3337990d9157a Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Fri, 26 May 2023 17:00:08 +0800
Subject: [PATCH] 新特殊作业
---
src/api/intelligentLine/index.ts | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/api/intelligentLine/index.ts b/src/api/intelligentLine/index.ts
index 1adb2cc..d79e528 100644
--- a/src/api/intelligentLine/index.ts
+++ b/src/api/intelligentLine/index.ts
@@ -10,5 +10,13 @@
data: data
});
},
+
+ // 获取Url
+ getUrl: () => {
+ return request({
+ url: import.meta.env.VITE_API_URL_SOCKET + `/ws/namesrv/get/one?srv=safeplatform-websocket`,
+ method: 'get'
+ });
+ }
};
}
--
Gitblit v1.9.2