Commit eb79df26 by 庄冰

pushBusiness2DeliverSystem

parent c8be2f9c
...@@ -647,7 +647,7 @@ class CenterorderService extends AppServiceBase { ...@@ -647,7 +647,7 @@ class CenterorderService extends AppServiceBase {
if (addRes && addRes.stdout) { if (addRes && addRes.stdout) {
var salesmanRes = JSON.parse(addRes.stdout); var salesmanRes = JSON.parse(addRes.stdout);
if (salesmanRes.status == 0) { if (salesmanRes.status == 0) {
deliveryObj.needsolution = salesmanRes.data; deliveryObj.actionBody.needsolution = salesmanRes.data;
await this.utilsPushSve.baiduBusiness2Delivery(deliveryObj, "pushDeliveryOrder"); await this.utilsPushSve.baiduBusiness2Delivery(deliveryObj, "pushDeliveryOrder");
} }
} }
......
...@@ -27,7 +27,7 @@ class UtilsDeliverSystemService extends AppServiceBase { ...@@ -27,7 +27,7 @@ class UtilsDeliverSystemService extends AppServiceBase {
var reqParams = { var reqParams = {
actionType: "produceData",// Y 功能名称 actionType: "produceData",// Y 功能名称
actionBody: { actionBody: {
pushUrl: interface_params_info.pushUrl,// Y 推送地址 pushUrl: "http://paas-service.newtime/entService/order/springBoard",//interface_params_info.pushUrl,// Y 推送地址
actionType: interface_params_info.actionType,// Y 推送地址接收时的功能名称 actionType: interface_params_info.actionType,// Y 推送地址接收时的功能名称
notifyUrl: interface_params_info.notifyUrl || "",// N 推送成功后通知的Url notifyUrl: interface_params_info.notifyUrl || "",// N 推送成功后通知的Url
identifyCode: interface_params_info.identifyCode,// Y 操作的业务标识 identifyCode: interface_params_info.identifyCode,// Y 操作的业务标识
...@@ -36,8 +36,7 @@ class UtilsDeliverSystemService extends AppServiceBase { ...@@ -36,8 +36,7 @@ class UtilsDeliverSystemService extends AppServiceBase {
}, },
requestId: pobj.requestId || "" // N 请求id requestId: pobj.requestId || "" // N 请求id
} }
await this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams);
this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams);
} }
//--------------------------------------------------内部辅助方法-------------------start----------------- //--------------------------------------------------内部辅助方法-------------------start-----------------
......
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