From 0becab45282781f281ad5aa04202b83039ab275e Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期五, 14 四月 2023 17:42:08 +0800 Subject: [PATCH] 增加发运统计页面,修改websocket,增加消息推送 --- api/request.js | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/api/request.js b/api/request.js index 8d6d256..be2601b 100644 --- a/api/request.js +++ b/api/request.js @@ -78,9 +78,18 @@ 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.31.18:9997" +// const webSocketUrl = "ws://192.168.31.18:9997/wrzs/ws/info" + +const BaseUrl = "http://192.168.31.14:9997"; +const webSocketUrl = "ws://192.168.31.14:9997/wrzs/ws/info" +// // 绾夸笂寮�鍙� +// const BaseUrl = "http://hesuancj.cn:9997"; +// const webSocketUrl = "ws://hesuancj.cn:9997/wrzs/ws/info" +// // 绾夸笂鐢熶骇 +// const BaseUrl = "https://mx.jzeg.cn:9095"; +// const webSocketUrl = "wss://mx.jzeg.cn:9095/wrzs/ws/info" + // 璇锋眰鎷︽埅 const fetch = (url, opt) => { @@ -146,5 +155,6 @@ export { fetch, - BaseUrl + BaseUrl, + webSocketUrl } -- Gitblit v1.9.1