sadjv3_user/common/config.js

63 lines
2.3 KiB
JavaScript
Raw Normal View History

2024-06-13 09:35:09 +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-24 11:29:11 +08:00
const ROOTPATH3 = "wss://192.168.2.222:8187/wss/websocket/";
2024-06-13 09:35:09 +08:00
const ROOTPATH = "http://192.168.2.222:8187/sqx_fast";
const ROOTPATH1 = "http://192.168.2.222:8187/sqx_fast";
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-06-13 09:26:36 +08:00
// const ROOTPATH = "https://wx.sjajk.com/sqx_fast";//生产需替换
// const ROOTPATH1 = "https://wx.sjajk.com/sqx_fast";//生产需替换
// const ROOTPATH3 = "wss://wx.sjajk.com/wss/websocket/"; //联系客服//生产需替换
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-24 11:29:11 +08:00
// const WS_BASE_PATH = 'ws://192.168.2.13:8187/sqx_fast/';
2024-06-13 09:35:09 +08:00
const WS_BASE_PATH = 'ws://192.168.2.222:8187/sqx_fast/';
// const WS_BASE_PATH = 'ws://120.46.52.165/sqx_fast/';
2024-06-13 09:26:36 +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
};