diff --git a/common/config.js b/common/config.js index f578eb2..dae712e 100644 --- a/common/config.js +++ b/common/config.js @@ -6,6 +6,7 @@ const PROT = "http://" // const ROOTHOST = "47.75.182.93:8090"; // const ROOTHOST = "1.92.152.160"; const ROOTHOST = "1.92.152.160"; +const ROOTHOST1 = "sausers.blxinchuang.com"; // const ROOTHOST = "192.168.2.15:8187"; // const ROOTHOST = "120.46.52.165"; // const ROOTHOST = "192.168.0.115:8187"; @@ -33,7 +34,7 @@ const checkdomain = (ROOTHOST) => { const ROOTPATH = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast"; const ROOTPATH1 = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast"; const ROOTPATH2 = "wss://" + ROOTHOST + "/wss/websocket/"; //联系客服 -const ROOTPATH3 = "wss://" + ROOTHOST + "/wss/chatSocket/"; //聊天 +const ROOTPATH3 = "wss://" + ROOTHOST1 + "/wss/chatSocket/"; //聊天 const WEBSOCKETADDRESS = "ws://" + ROOTHOST + "/sqx_fast/ws/"; //退出软件后台后将用户状态置为离线 const UPLOAD_PATH = ROOTPATH1 + '/alioss/upload'; @@ -60,6 +61,7 @@ const WS_UPLOAD_RECORDER_PATH = WS_BASE_PATH + 'monitorWebSocket/'; module.exports = { PROT, ROOTHOST, + ROOTHOST1, APIHOST: ROOTPATH, APIHOST1: ROOTPATH1, WSHOST: ROOTPATH2, diff --git a/pages/msg/im.vue b/pages/msg/im.vue index 15b4a16..c2b5600 100644 --- a/pages/msg/im.vue +++ b/pages/msg/im.vue @@ -1,14 +1,14 @@