|
@@ -22,12 +22,12 @@ var globalSwitch = process.env.VUE_APP_ENV == 'localDev'; // 全局开关 true-
|
|
|
var fmUrl;
|
|
|
if (process.env.VUE_APP_ENV == "dev") {
|
|
|
//开发环境
|
|
|
- var requestUrl = "http://10.91.202.121:8081"; //后端地址
|
|
|
- fmUrl = "http://10.91.202.121:8081" + fmBaseUrl; //fm路径,用于跳转
|
|
|
+ var requestUrl = "https://dfmea.mychery.com"; //后端地址
|
|
|
+ fmUrl = "https://dfmea.mychery.com" + fmBaseUrl; //fm路径,用于跳转
|
|
|
} else if (process.env.VUE_APP_ENV == "production") {
|
|
|
//开发环境
|
|
|
- var requestUrl = "http://10.91.202.121:8081"; //后端地址
|
|
|
- fmUrl = "http://10.91.202.121:8081" + fmBaseUrl; //fm路径,用于跳转
|
|
|
+ var requestUrl = "https://dfmea.mychery.com"; //后端地址
|
|
|
+ fmUrl = "https://dfmea.mychery.com" + fmBaseUrl; //fm路径,用于跳转
|
|
|
} else if (process.env.VUE_APP_ENV == 1081) { //外部测试环境
|
|
|
//测试环境
|
|
|
var requestUrl = "http://139.196.74.209:8090"; //后端地址
|
|
@@ -35,8 +35,8 @@ if (process.env.VUE_APP_ENV == "dev") {
|
|
|
// var requestUrl = "http://localhost:8080"; //后端地址
|
|
|
// fmUrl = "http://localhost:8080" + fmBaseUrl; //fm路径,用于跳转
|
|
|
} else if (process.env.VUE_APP_ENV === 'test') { // 测试环境
|
|
|
- var requestUrl = "http://dizao.tpddns.cn:20001";
|
|
|
- fmUrl = "http://dizao.tpddns.cn:20001" + fmBaseUrl;
|
|
|
+ var requestUrl = "http://10.190.8.6";
|
|
|
+ fmUrl = "http://10.190.8.6" + fmBaseUrl;
|
|
|
} else if (process.env.VUE_APP_ENV === 'test8080') { // 8080测试环境
|
|
|
var requestUrl = "http://1.117.58.199:8080";
|
|
|
fmUrl = "http://1.117.58.199:8080" + fmBaseUrl;
|
|
@@ -45,8 +45,8 @@ if (process.env.VUE_APP_ENV == "dev") {
|
|
|
fmUrl = "http://121.4.57.171:8080" + fmBaseUrl;
|
|
|
} else if (process.env.VUE_APP_ENV == "uat") { //上汽测试环境
|
|
|
//ip测试环境
|
|
|
- var requestUrl = "http://10.132.108.11:8080"; //后端地址
|
|
|
- fmUrl = "http://10.132.108.11:8080" + fmBaseUrl; //fm路径,用于跳转
|
|
|
+ var requestUrl = "https://dfmeauat.mychery.com"; //后端地址
|
|
|
+ fmUrl = "https://dfmeauat.mychery.com" + fmBaseUrl; //fm路径,用于跳转
|
|
|
// var requestUrl = "http://10.91.202.121:8087"; //后端地址
|
|
|
// fmUrl = "http://10.91.202.121:8087" + fmBaseUrl; //fm路径,用于跳转
|
|
|
} else if (process.env.VUE_APP_ENV == "fmea") {
|
|
@@ -59,8 +59,8 @@ if (process.env.VUE_APP_ENV == "dev") {
|
|
|
fmUrl = "https://fmea-test.nioint.com" + fmBaseUrl; //fm路径,用于跳转
|
|
|
} else if (process.env.VUE_APP_ENV == "local") {
|
|
|
//开发环境
|
|
|
- var requestUrl = "http://10.91.202.121:8081"; //后端地址
|
|
|
- fmUrl = "http://10.91.202.121:8081" + fmBaseUrl; //fm路径,用于跳转
|
|
|
+ var requestUrl = "https://dfmea.mychery.com"; //后端地址
|
|
|
+ fmUrl = "https://dfmea.mychery.com" + fmBaseUrl; //fm路径,用于跳转
|
|
|
} else if (process.env.VUE_APP_ENV == "local8080") {
|
|
|
var requestUrl = "http://192.168.0.178:8080"; //后端地址
|
|
|
fmUrl = "http://192.168.0.178:8080" + fmBaseUrl; //fm路径,用于跳转
|