82 lines
3.1 KiB
JavaScript
82 lines
3.1 KiB
JavaScript
// 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/";
|
|
|
|
// 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";
|
|
|
|
// 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";
|
|
|
|
const ROOTPATH3 = "wss://sausers.blxinchuang.com/wss/websocket/";
|
|
const ROOTPATH = "https://sausers.blxinchuang.com/sqx_fast";
|
|
const ROOTPATH1 = "https://sausers.blxinchuang.com/sqx_fast";
|
|
|
|
// 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";
|
|
|
|
// 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";
|
|
|
|
|
|
// 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/";
|
|
|
|
// const ROOTPATH = "http://192.168.1.169:8187/sqx_fast";
|
|
// const ROOTPATH1 = "http://192.168.1.169:8187/sqx_fast";
|
|
//客户现场
|
|
// 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/";//联系客服
|
|
//生产环境
|
|
// const ROOTPATH = "https://wx.sjajk.com/sqx_fast";//生产需替换
|
|
// const ROOTPATH1 = "https://wx.sjajk.com/sqx_fast";//生产需替换
|
|
// const ROOTPATH3 = "wss://wx.sjajk.com/wss/websocket/"; //联系客服//生产需替换
|
|
|
|
//上传地址
|
|
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基础连接地址
|
|
// const WS_BASE_PATH = 'ws://47.75.182.93:8090/sqx_fast/';
|
|
// const WS_BASE_PATH = 'ws://192.168.2.15:8187/sqx_fast/';
|
|
const WS_BASE_PATH = 'ws://sausers.blxinchuang.com/sqx_fast/';
|
|
// const WS_BASE_PATH = 'ws://1.92.152.160/sqx_fast/';
|
|
// const WS_BASE_PATH = 'ws://120.46.52.165/sqx_fast/';
|
|
// const WS_BASE_PATH = 'wss://admin.sjajk.com/sqx_fast/';//生产需替换
|
|
|
|
//地图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
|
|
}; |