From 7986bc00e330411ffc73da24fdd168c6af8cf295 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 27 三月 2023 10:46:12 +0800 Subject: [PATCH] 0327测试 --- api/request.js | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/api/request.js b/api/request.js index 8d6d256..da0f940 100644 --- a/api/request.js +++ b/api/request.js @@ -78,10 +78,14 @@ 500: responseError } -// const BaseUrl = "http://192.168.3.159:9999/"; -// const BaseUrl = "http://192.168.0.120:9997"; -const BaseUrl = "http://192.168.0.120:9997"; +// const BaseUrl = "http://192.168.0.120:9997" +// const webSocketUrl = "ws://192.168.0.120:9997/wrzs/ws/info" +// const BaseUrl = "http://192.168.3.109:9997"; +const BaseUrl = "http://192.168.0.144:9997"; + +const webSocketUrl = "ws://192.168.3.109:9997/wrzs/ws/info" +// const webSocketUrl = "ws://10.101.33.114:9997/wrzs/ws/info" // 璇锋眰鎷︽埅 const fetch = (url, opt) => { // 鏌ユ壘瀵瑰簲鍦板潃 @@ -146,5 +150,6 @@ export { fetch, - BaseUrl + BaseUrl, + webSocketUrl } -- Gitblit v1.9.1