配置文件
This commit is contained in:
parent
a95b78aefd
commit
e4014a1556
|
@ -1,13 +1,14 @@
|
||||||
//生产环境
|
//生产环境
|
||||||
const PROT = "https://"//生产需替换
|
const PROT = "https://"//生产需替换
|
||||||
const ROOTHOST = "admin.sjajk.com";//生产需替换
|
// const ROOTHOST = "admin.sjajk.com";//生产需替换
|
||||||
|
const ROOTHOST = "sausers.blxinchuang.com";
|
||||||
//测试环境
|
//测试环境
|
||||||
// const PROT = "http://"
|
// const PROT = "http://"
|
||||||
// const ROOTHOST = "47.75.182.93:8090";
|
// const ROOTHOST = "47.75.182.93:8090";
|
||||||
// const ROOTHOST = "1.92.152.160";
|
// const ROOTHOST = "1.92.152.160";
|
||||||
// const ROOTHOST = "1.92.152.160";
|
// const ROOTHOST = "1.92.152.160";
|
||||||
// const ROOTHOST1 = "sausers.blxinchuang.com";
|
// const ROOTHOST1 = "sausers.blxinchuang.com";
|
||||||
// const ROOTHOST = "192.168.2.15:8187";
|
// const ROOTHOST = "192.168.2.222:8187";
|
||||||
// const ROOTHOST = "120.46.52.165";
|
// const ROOTHOST = "120.46.52.165";
|
||||||
// const ROOTHOST = "192.168.0.115:8187";
|
// const ROOTHOST = "192.168.0.115:8187";
|
||||||
// const ROOTHOST = "192.168.1.169:8187";
|
// const ROOTHOST = "192.168.1.169:8187";
|
||||||
|
@ -33,8 +34,8 @@ const checkdomain = (ROOTHOST) => {
|
||||||
//验证是否是域名后判断http/https
|
//验证是否是域名后判断http/https
|
||||||
const ROOTPATH = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast";
|
const ROOTPATH = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast";
|
||||||
const ROOTPATH1 = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast";
|
const ROOTPATH1 = (checkdomain(ROOTHOST) ? "https://" : "http://") + ROOTHOST + "/sqx_fast";
|
||||||
const ROOTPATH2 = "wss://" + ROOTHOST + "/wss/chatSocket/"; //联系客服
|
|
||||||
// const ROOTPATH3 = "wss://" + ROOTHOST1 + "/wss/chatSocket/"; //聊天
|
// const ROOTPATH3 = "wss://" + ROOTHOST1 + "/wss/chatSocket/"; //聊天
|
||||||
|
const ROOTPATH2 = "wss://" + ROOTHOST + "/wss/chatSocket/"; //联系客服
|
||||||
const WEBSOCKETADDRESS = "wss://" + ROOTHOST + "/wss/chatSocket/"; //退出软件后台后将用户状态置为离线
|
const WEBSOCKETADDRESS = "wss://" + ROOTHOST + "/wss/chatSocket/"; //退出软件后台后将用户状态置为离线
|
||||||
const UPLOAD_PATH = ROOTPATH1 + '/alioss/upload';
|
const UPLOAD_PATH = ROOTPATH1 + '/alioss/upload';
|
||||||
|
|
||||||
|
@ -72,4 +73,4 @@ module.exports = {
|
||||||
WS_UPLOAD_MAP_PATH,
|
WS_UPLOAD_MAP_PATH,
|
||||||
WS_UPLOAD_RECORDER_PATH,
|
WS_UPLOAD_RECORDER_PATH,
|
||||||
WEBSOCKETADDRESS
|
WEBSOCKETADDRESS
|
||||||
};
|
};
|
||||||
|
|
|
@ -714,9 +714,6 @@
|
||||||
let currentTimeStamp = new Date().getTime() / 1000;
|
let currentTimeStamp = new Date().getTime() / 1000;
|
||||||
let formatTimeStamp = Math.floor(afterTimeStamp - currentTimeStamp);
|
let formatTimeStamp = Math.floor(afterTimeStamp - currentTimeStamp);
|
||||||
ret.endOfServiceTimer = formatTimeStamp;
|
ret.endOfServiceTimer = formatTimeStamp;
|
||||||
console.log("dddd",ret.ordersNo);
|
|
||||||
console.log("eeee",ret.endOfServiceTimer);
|
|
||||||
console.log("ffff",ret.earlyFinishReason);
|
|
||||||
}
|
}
|
||||||
if (this.$refs.countDownEl) this.$refs.countDownEl.update();
|
if (this.$refs.countDownEl) this.$refs.countDownEl.update();
|
||||||
})
|
})
|
||||||
|
|
|
@ -101,11 +101,9 @@ class Request {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.config = {
|
this.config = {
|
||||||
baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
|
// baseUrl: 'https://admin.sjajk.com/', // 请求的根域名//生产需替换
|
||||||
// baseUrl: 'http://47.75.182.93:8090/', // 请求的根域名
|
// baseUrl: 'http://192.168.2.222:8187/', // 请求的根域名
|
||||||
// baseUrl: 'http://120.46.52.165/', // 请求的根域名
|
baseUrl: 'https://sausers.blxinchuang.com', // 请求的根域名
|
||||||
// baseUrl: 'http://192.168.2.15:8187/', // 请求的根域名
|
|
||||||
// baseUrl: 'http://1.92.152.160/', // 请求的根域名
|
|
||||||
// 默认的请求头
|
// 默认的请求头
|
||||||
header: {},
|
header: {},
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
Loading…
Reference in New Issue