diff --git a/common/config.js b/common/config.js index 4ae3a04..ac0ef30 100644 --- a/common/config.js +++ b/common/config.js @@ -1,6 +1,10 @@ -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 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 ROOTPATH = "http://192.168.2.222:8187/sqx_fast"; +const ROOTPATH1 = "http://192.168.2.222:8187/sqx_fast"; +const ROOTPATH3 = "wss://192.168.2.222:8187/wss/websocket/"; // const ROOTPATH = "http://192.168.1.169:8187/sqx_fast"; // const ROOTPATH1 = "http://192.168.1.169:8187/sqx_fast"; @@ -31,8 +35,8 @@ 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://192.168.31.21:8187/sqx_fast/'; -const WS_BASE_PATH = 'ws://120.46.52.165/sqx_fast/'; +const WS_BASE_PATH = 'ws://192.168.2.222:8187/sqx_fast/'; +// const WS_BASE_PATH = 'ws://120.46.52.165/sqx_fast/'; // const WS_BASE_PATH = 'wss://admin.sjajk.com/sqx_fast/';//生产需替换 //地图ws接口 diff --git a/common/queue.js b/common/queue.js index cecd71b..c2c17a4 100644 --- a/common/queue.js +++ b/common/queue.js @@ -19,12 +19,14 @@ module.exports = { //全局域名 部分html中需要单独替换 需要修改config中的网络请求域名 publicYuMing() { // return 'https://admin.sjajk.com'//生产需替换 - return 'http://120.46.52.165' + // return 'http://120.46.52.165' + return 'http://192.168.2.222:8187' }, //全局域名 部分html中需要单独替换 需要修改config中的网络请求域名 publicYuMingApp() { // return 'https://wx.sjajk.com'//生产需替换 - return 'http://120.46.52.165' + // return 'http://120.46.52.165' + return 'http://192.168.2.222:8187' }, logout() { this.remove("token"); diff --git a/manifest.json b/manifest.json index e78efcf..67a0782 100644 --- a/manifest.json +++ b/manifest.json @@ -184,7 +184,8 @@ "key" : "2acf1b8c3d1aaf0070472dec19018d96", "securityJsCode" : "2b07c8496878c327a8ae7a19de33e2a7", // "serviceHost" : "http://wx.sjajk.com/_AMapService"//生产需替换 - "serviceHost" : "http://120.46.52.165/_AMapService" + // "serviceHost" : "http://120.46.52.165/_AMapService" + "serviceHost" : "http://192.168.2.222:8187/_AMapService" } } }, diff --git a/uview-ui/libs/request/index.js b/uview-ui/libs/request/index.js index 1b98125..6ed747a 100644 --- a/uview-ui/libs/request/index.js +++ b/uview-ui/libs/request/index.js @@ -102,7 +102,8 @@ class Request { constructor() { this.config = { // baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换 - baseUrl: 'http://120.46.52.165/', // 请求的根域名 + // baseUrl: 'http://120.46.52.165/', // 请求的根域名 + baseUrl: 'http://192.168.2.222:8187/', // 默认的请求头 header: {}, method: 'POST',