Commit eb8ebf92 by 王悦

er.es.gongsibao.com:7200

parent 653b6b2c
......@@ -766,7 +766,7 @@ class TrademarktransactionService extends ServiceBase {
"regist_notice_day"
]
};
var esData = await this.execPostByTimeOut(null, params, "http://43.247.184.94:7200/bigdata_middle_gsb_tm_info/_search", null);
var esData = await this.execPostByTimeOut(null, params, "http://er.es.gongsibao.com:7200/bigdata_middle_gsb_tm_info/_search", null);
if (esData.status != 1) {
return system.getResultFail(-1001, "es查询失败")
}
......@@ -815,7 +815,7 @@ class TrademarktransactionService extends ServiceBase {
]
};
var nclthird = [];
var esData = await this.execPostByTimeOut(null, params, "http://43.247.184.94:7200/bigdata_bdc_ncl_info/_search", null);
var esData = await this.execPostByTimeOut(null, params, "http://er.es.gongsibao.com:7200/bigdata_bdc_ncl_info/_search", null);
if (esData.status != 1) {
return system.getResultFail(-1001, "es查询失败")
}
......
......@@ -18,9 +18,9 @@ var settings = {
port: process.env.NODE_PORT || 4006,
opLogUrl: function () {
if (this.env == "dev" || this.env == "test") {
return "http://43.247.184.94:7200/center-tm-transaction_log/_doc?pretty";
return "http://er.es.gongsibao.com:7200/center-tm-transaction_log/_doc?pretty";
} else {
return "http://43.247.184.94:7200/center-tm-transaction_log/_doc?pretty";
return "http://er.es.gongsibao.com:7200/center-tm-transaction_log/_doc?pretty";
}
},
opPushUrl: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment