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 | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/api/request.js b/api/request.js index ed6e018..be2601b 100644 --- a/api/request.js +++ b/api/request.js @@ -78,10 +78,18 @@ 500: responseError } -// 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 webSocketUrl = "ws://192.168.3.109:9997/wrzs/ws/info" +// 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) => { -- Gitblit v1.9.1