2024-07-03 09:57:08 +08:00
|
|
|
// const ROOTPATH = "http://120.46.52.165/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://120.46.52.165/sqx_fast";
|
|
|
|
// const ROOTPATH3 = "wss://120.46.52.165/wss/websocket/";
|
2024-06-13 09:35:09 +08:00
|
|
|
|
2024-07-10 15:32:28 +08:00
|
|
|
// const ROOTPATH3 = "wss://192.168.2.15:8187/wss/websocket/";
|
|
|
|
// const ROOTPATH = "http://192.168.2.15:8187/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://192.168.2.15:8187/sqx_fast";
|
2024-07-02 15:25:43 +08:00
|
|
|
|
2024-07-04 09:37:34 +08:00
|
|
|
// const ROOTPATH3 = "wss://1.92.152.160/wss/websocket/";
|
|
|
|
// const ROOTPATH = "http://1.92.152.160/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://1.92.152.160/sqx_fast";
|
|
|
|
|
2024-08-12 17:31:57 +08:00
|
|
|
// const ROOTPATH3 = "wss://sausers.blxinchuang.com/wss/chatSocket/";
|
|
|
|
// const ROOTPATH = "https://sausers.blxinchuang.com/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "https://sausers.blxinchuang.com/sqx_fast";
|
2024-06-24 11:29:11 +08:00
|
|
|
|
2024-06-25 20:23:11 +08:00
|
|
|
// const ROOTPATH3 = "wss://47.75.182.93:8090/wss/websocket/";
|
|
|
|
// const ROOTPATH = "http://47.75.182.93:8090/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://47.75.182.93:8090/sqx_fast";
|
|
|
|
|
2024-06-25 20:59:46 +08:00
|
|
|
// const ROOTPATH3 = "wss://120.46.52.165/wss/websocket/";
|
|
|
|
// const ROOTPATH = "http://120.46.52.165/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://120.46.52.165/sqx_fast";
|
|
|
|
|
2024-06-25 15:20:37 +08:00
|
|
|
|
2024-06-24 11:29:11 +08:00
|
|
|
// const ROOTPATH = "http://192.168.2.13:8187/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://192.168.2.13:8187/sqx_fast";
|
|
|
|
// const ROOTPATH3 = "wss://192.168.2.13:8187/wss/websocket/";
|
2024-06-13 09:26:36 +08:00
|
|
|
|
2024-06-12 15:52:21 +08:00
|
|
|
// const ROOTPATH = "http://192.168.1.169:8187/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://192.168.1.169:8187/sqx_fast";
|
2024-06-05 19:16:02 +08:00
|
|
|
//客户现场
|
|
|
|
// const ROOTPATH = "http://192.168.110.85:8187/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://192.168.110.85:8187/sqx_fast";
|
|
|
|
//后台本地张聪
|
|
|
|
// const ROOTPATH = "http://192.168.1.48:8187/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://192.168.1.48:8187/sqx_fast";
|
|
|
|
// 后台本地韩玉东
|
|
|
|
// const ROOTPATH = "http://192.168.1.50:8187/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://192.168.1.50:8187/sqx_fast";
|
|
|
|
// const ROOTPATH3 = "wss://wx.sjajk.com/wss/websocket/";//联系客服
|
|
|
|
//生产环境
|
2024-08-12 17:31:57 +08:00
|
|
|
const ROOTPATH = "https://admin.sjajk.com/sqx_fast";//生产需替换
|
|
|
|
const ROOTPATH1 = "https://admin.sjajk.com/sqx_fast";//生产需替换
|
|
|
|
const ROOTPATH3 = "wss://admin.sjajk.com/wss/chatSocket/"; //联系客服//生产需替换
|
2024-06-05 19:16:02 +08:00
|
|
|
|
|
|
|
//上传地址
|
|
|
|
const UPLOAD_PATH = ROOTPATH1 + '/alioss/upload';
|
|
|
|
|
|
|
|
// const ROOTPATH = "http://192.168.0.131:8187/sqx_fast";
|
|
|
|
// const ROOTPATH1 = "http://192.168.0.131:8187/sqx_fast";
|
|
|
|
// const ROOTPATH3 = "wss://anmo.xianmxkj.com/wss/websocket/";//联系客服
|
|
|
|
|
|
|
|
//腾讯地图key
|
|
|
|
const TX_MAP_KEY = 'VIWBZ-5OM3F-CV7JZ-NLKJY-AXSYV-TMFM6';
|
|
|
|
//const TX_MAP_KEY = '55UBZ-STNK4-DSNUM-F4A75-Q7BC5-FRBMS';
|
|
|
|
|
|
|
|
//ws基础连接地址
|
2024-06-25 20:23:11 +08:00
|
|
|
// const WS_BASE_PATH = 'ws://47.75.182.93:8090/sqx_fast/';
|
2024-07-10 15:32:28 +08:00
|
|
|
// const WS_BASE_PATH = 'ws://192.168.2.15:8187/sqx_fast/';
|
2024-08-12 17:31:57 +08:00
|
|
|
// const WS_BASE_PATH = 'ws://sausers.blxinchuang.com/sqx_fast/';
|
2024-07-04 09:37:34 +08:00
|
|
|
// const WS_BASE_PATH = 'ws://1.92.152.160/sqx_fast/';
|
2024-06-13 09:35:09 +08:00
|
|
|
// const WS_BASE_PATH = 'ws://120.46.52.165/sqx_fast/';
|
2024-08-12 17:31:57 +08:00
|
|
|
const WS_BASE_PATH = 'wss://admin.sjajk.com/sqx_fast/';//生产需替换
|
2024-06-05 19:16:02 +08:00
|
|
|
|
|
|
|
//地图ws接口
|
|
|
|
const WS_UPLOAD_MAP_PATH = WS_BASE_PATH + 'mapWebsocket/';
|
|
|
|
|
|
|
|
//报警ws接口
|
|
|
|
const WS_UPLOAD_RECORDER_PATH = WS_BASE_PATH + 'monitorWebSocket/';
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
APIHOST: ROOTPATH,
|
|
|
|
APIHOST1: ROOTPATH1,
|
|
|
|
// WSHOST: ROOTPATH2,
|
|
|
|
WSHOST1: ROOTPATH3,
|
|
|
|
UPLOAD_PATH,
|
|
|
|
TX_MAP_KEY,
|
|
|
|
WS_BASE_PATH,
|
|
|
|
WS_UPLOAD_MAP_PATH,
|
|
|
|
WS_UPLOAD_RECORDER_PATH
|
|
|
|
};
|