Commit cb8fd482 by 宋毅

Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel

parents 5435e5b6 62014aae
...@@ -18,6 +18,7 @@ class UtilsNeedService extends AppServiceBase { ...@@ -18,6 +18,7 @@ class UtilsNeedService extends AppServiceBase {
this.qcCenterOrderSve = system.getObject("service.common.qcCenterOrderSve"); this.qcCenterOrderSve = system.getObject("service.common.qcCenterOrderSve");
this.opPushQueueUrl = settings.opPushQueueUrl(); this.opPushQueueUrl = settings.opPushQueueUrl();
this.utilsAuthSve = system.getObject("service.utilsSve.utilsAuthSve"); this.utilsAuthSve = system.getObject("service.utilsSve.utilsAuthSve");
this.execClientNew = system.getObject("util.execClientNew");
} }
/** /**
...@@ -38,6 +39,7 @@ class UtilsNeedService extends AppServiceBase { ...@@ -38,6 +39,7 @@ class UtilsNeedService extends AppServiceBase {
sobj.actionType = "getProductTypeInfo"; sobj.actionType = "getProductTypeInfo";
var url = settings.centerAppUrl() + "action/opProduct/springBoard"; var url = settings.centerAppUrl() + "action/opProduct/springBoard";
var rtn = await this.execClient.execPost(sobj, url); var rtn = await this.execClient.execPost(sobj, url);
this.execClientNew.execLogs("utilsNeedSve-submitNeed", pobj, "ali-submitNeed-getProductTypeInfo", rtn.stdout, null);
if (!rtn || !rtn.stdout) { if (!rtn || !rtn.stdout) {
return system.getResultFail(-5015, "需求类型查询失败"); return system.getResultFail(-5015, "需求类型查询失败");
} }
......
...@@ -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);
......
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