测试地址更换

This commit is contained in:
曹磊 2024-06-13 09:35:09 +08:00
parent fd9b546339
commit 503151400f
4 changed files with 17 additions and 9 deletions

View File

@ -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接口

View File

@ -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");

View File

@ -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"
}
}
},

View File

@ -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',