...
|
...
|
@@ -43,7 +43,7 @@ var apiCofig = { |
|
|
//root:__dirname,
|
|
|
EnvConst:{
|
|
|
domain:"http://192.168.102.210:8088/platform",
|
|
|
//domain:"http://172.16.6.225:8080/platform",
|
|
|
// domain:"http://172.16.6.200:8088/platform",
|
|
|
yohoSearch: 'http://192.168.102.216:8080/yohosearch',
|
|
|
system:Iaccount
|
|
|
},
|
...
|
...
|
@@ -94,15 +94,17 @@ if(process.env.NODE_ENV!="coding"){ |
|
|
}
|
|
|
}
|
|
|
/*线下测试环境*/
|
|
|
if(process.env.NODE_ENV==="test211"){
|
|
|
apiCofig.EnvConst.domain="http://192.168.102.202:8088/platform";
|
|
|
apiCofig.EnvConst.yohoSearch="http://192.168.102.216:8080/yohosearch";
|
|
|
}
|
|
|
/*腾讯云*/
|
|
|
// if(process.env.NODE_ENV==="test211"){
|
|
|
// apiCofig.EnvConst.domain="http://192.168.102.202:8088/platform";
|
|
|
// apiCofig.EnvConst.yohoSearch="http://192.168.102.216:8080/yohosearch";
|
|
|
// }
|
|
|
|
|
|
/*测试环境*/
|
|
|
if(process.env.NODE_ENV==="test"){
|
|
|
apiCofig.EnvConst.domain="http://10.66.100.6:8088/platform";
|
|
|
apiCofig.EnvConst.yohoSearch="http://10.66.100.4:8080/yohosearch";
|
|
|
apiCofig.EnvConst.domain=process.env.TEST_PLATFORM||"http://10.66.100.6:8088/platform";
|
|
|
apiCofig.EnvConst.yohoSearch=process.env.TEST_SEARCH||"http://10.66.100.4:8080/yohosearch";
|
|
|
}
|
|
|
|
|
|
/*灰度环境*/
|
|
|
if(process.env.NODE_ENV==="gray"){
|
|
|
apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform";
|
...
|
...
|
|