Authored by weiqingting

提交

... ... @@ -102,9 +102,14 @@ 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";
}
/**/
if(process.env.NODE_ENV==="production"){
/*灰度环境*/
if(process.env.NODE_ENV==="gray"){
apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform";
apiCofig.EnvConst.yohoSearch="http://search.yohoops.org/yohosearch";
}
/*线上环境*/
if(process.env.NODE_ENV==="production"){
apiCofig.EnvConst.domain="http://172.31.20.7:8088/platform";
apiCofig.EnvConst.yohoSearch="http://search.yohoops.org/yohosearch";
}
module.exports = require('./libs/App')(apiCofig);
\ No newline at end of file
... ...
... ... @@ -102,9 +102,14 @@ 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";
}
/**/
if(process.env.NODE_ENV==="production"){
/*灰度环境*/
if(process.env.NODE_ENV==="gray"){
apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform";
apiCofig.EnvConst.yohoSearch="http://search.yohoops.org/yohosearch";
}
/*线上环境*/
if(process.env.NODE_ENV==="production"){
apiCofig.EnvConst.domain="http://172.31.20.7:8088/platform";
apiCofig.EnvConst.yohoSearch="http://search.yohoops.org/yohosearch";
}
module.exports = require('./libs/App')(apiCofig);
\ No newline at end of file
... ...