From 7d1d7639ce54590befad48f79e3847b9a5f361b0 Mon Sep 17 00:00:00 2001 From: Your Name <123456> Date: 星期一, 15 八月 2022 19:44:02 +0800 Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqt --- src/api/intelligentLine/index.ts | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/api/intelligentLine/index.ts b/src/api/intelligentLine/index.ts index 1adb2cc..9c11ce2 100644 --- a/src/api/intelligentLine/index.ts +++ b/src/api/intelligentLine/index.ts @@ -10,5 +10,14 @@ data: data }); }, + + // 获取Url + getUrl: () => { + // debugger + return request({ + url: import.meta.env.VITE_API_URL_SOCKET + `/ws/namesrv/get/one`, + method: 'get' + }); + } }; } -- Gitblit v1.9.2