Commit 30e900cb by linboxuan

lin update es settings

parent 90a62a28
...@@ -40,7 +40,7 @@ class UtilsOpNeedService extends AppServiceBase { ...@@ -40,7 +40,7 @@ class UtilsOpNeedService extends AppServiceBase {
pobj.actionBody.channel_type_code = opResult.data.channel_type_code; pobj.actionBody.channel_type_code = opResult.data.channel_type_code;
pobj.actionBody.channel_type_name = opResult.data.channel_type_name; pobj.actionBody.channel_type_name = opResult.data.channel_type_name;
} }
// 提交需求 暂未做推送 // 提交需求
pobj.actionType = "opSubmitNeed"; pobj.actionType = "opSubmitNeed";
var reqUrl = this.centerOrderUrl + "action/opNeed/springBoard"; var reqUrl = this.centerOrderUrl + "action/opNeed/springBoard";
var result = await this.restPostUrl(pobj, reqUrl); var result = await this.restPostUrl(pobj, reqUrl);
......
...@@ -26,9 +26,10 @@ var settings = { ...@@ -26,9 +26,10 @@ var settings = {
//记录日志地址 //记录日志地址
opNewLogUrl() { opNewLogUrl() {
if (this.env == 'dev') { if (this.env == 'dev') {
return "http://43.247.184.94:7200/center_channel_req_log/_doc?pretty"; return "http://er.es.gongsibao.com:7200/center_channel_req_log/_doc?pretty";
} }
return "http://43.247.184.94:7200/center_channel_req_log/_doc?pretty"; // return "http://43.247.184.94:7200/center_channel_req_log/_doc?pretty";
return "http://er.es.gongsibao.com:7200/center_channel_req_log/_doc?pretty"
}, },
enameClientUrl: function () { enameClientUrl: function () {
if (this.env == 'dev') { if (this.env == 'dev') {
...@@ -334,9 +335,9 @@ var settings = { ...@@ -334,9 +335,9 @@ var settings = {
}, },
openPlatformAK: function () { openPlatformAK: function () {
if (this.env == "dev") { if (this.env == "dev") {
return {"accessKey": "111", "accessSecret": "222"} return { "accessKey": "111", "accessSecret": "222" }
} else { } else {
return {"accessKey": "202101121716", "accessSecret": "12bb846776874167b5c7e01cd0116c12"} return { "accessKey": "202101121716", "accessSecret": "12bb846776874167b5c7e01cd0116c12" }
} }
}, },
apiconfig: { apiconfig: {
......
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