Commit f4d708ae by 王栋源

wdy

parent 5e49b5b0
...@@ -56,21 +56,27 @@ class QcCenterOrderService extends AppServiceBase { ...@@ -56,21 +56,27 @@ class QcCenterOrderService extends AppServiceBase {
//推送方案 //推送方案
await this.pushIcpSolution(pushObj, needsolution.solutionNo, pobj.appInfo, self); await this.pushIcpSolution(pushObj, needsolution.solutionNo, pobj.appInfo, self);
// 2020 0806 lin 新增推送 // // 2020 0806 lin 新增推送
// var reqParams = {
// actionType: "produceData",// Y 功能名称
// actionBody: {
// pushUrl: pushUrl,// Y 推送地址
// actionType: "updateChanceStatus",// Y 推送地址接收时的功能名称
// notifyUrl: "",// N 推送成功后通知的Url
// identifyCode: "ali.vat",// Y 操作的业务标识
// messageBody: pobj.actionBody, // Y 推送的业务消息,必须有一项对象属性值
// headData: ""//N 请求头信息,Json格式,如:{token:"XXXXXXX"}
// },
// requestId: pobj.requestId || "" // N 请求id
// }
// this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams);
var reqParams = { var reqParams = {
actionType: "produceData",// Y 功能名称
actionBody: { actionBody: {
pushUrl: pushUrl,// Y 推送地址 intentionBizId: needinfo.channelNeedNo
actionType: "updateChanceStatus",// Y 推送地址接收时的功能名称
notifyUrl: "",// N 推送成功后通知的Url
identifyCode: "ali.vat",// Y 操作的业务标识
messageBody: pobj.actionBody, // Y 推送的业务消息,必须有一项对象属性值
headData: ""//N 请求头信息,Json格式,如:{token:"XXXXXXX"}
}, },
requestId: pobj.requestId || "" // N 请求id appInfo: pobj.appInfo
} }
this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams); this.utilsPushSve.aliBusiness2Delivery(reqParams, "updateChanceStatus");
return system.getResultSuccess(); return system.getResultSuccess();
} }
return res; return res;
......
...@@ -52,21 +52,26 @@ class UtilsNeedService extends AppServiceBase { ...@@ -52,21 +52,26 @@ class UtilsNeedService extends AppServiceBase {
} else { } else {
pobj.actionBody.type = "ali.edi"; pobj.actionBody.type = "ali.edi";
} }
// 2020 0806 lin 新增推送 // // 2020 0806 lin 新增推送
// var reqParams = {
// actionType: "produceData",// Y 功能名称
// actionBody: {
// pushUrl: interface_params_info.pushUrl,// Y 推送地址
// actionType: "addChance",// Y 推送地址接收时的功能名称
// notifyUrl: "",// N 推送成功后通知的Url
// identifyCode: "ali.vat",// Y 操作的业务标识
// messageBody: pobj.actionBody, // Y 推送的业务消息,必须有一项对象属性值
// headData: ""//N 请求头信息,Json格式,如:{token:"XXXXXXX"}
// },
// requestId: pobj.requestId || "" // N 请求id
// }
// this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams);
var reqParams = { var reqParams = {
actionType: "produceData",// Y 功能名称 actionBody: pobj.actionBody,
actionBody: { appInfo: pobj.appInfo
pushUrl: interface_params_info.pushUrl,// Y 推送地址
actionType: "addChance",// Y 推送地址接收时的功能名称
notifyUrl: "",// N 推送成功后通知的Url
identifyCode: "ali.vat",// Y 操作的业务标识
messageBody: pobj.actionBody, // Y 推送的业务消息,必须有一项对象属性值
headData: ""//N 请求头信息,Json格式,如:{token:"XXXXXXX"}
},
requestId: pobj.requestId || "" // N 请求id
} }
this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams); this.utilsPushSve.aliBusiness2Delivery(reqParams, "addChance");
this.utilsPushSve.aliBusiness2Fq(pobj, "pushNeedICPBusiness"); this.utilsPushSve.aliBusiness2Fq(pobj, "pushNeedICPBusiness");
} }
...@@ -300,6 +305,7 @@ class UtilsNeedService extends AppServiceBase { ...@@ -300,6 +305,7 @@ class UtilsNeedService extends AppServiceBase {
var tmpObj = { var tmpObj = {
actionBody: { actionBody: {
orderNo: rtn.data.orderNo, orderNo: rtn.data.orderNo,
channelNeedNo: rtn.data.channelNeedNo,
needsolution: rtn.data.solutionContent needsolution: rtn.data.solutionContent
}, },
appInfo: pobj.appInfo appInfo: pobj.appInfo
......
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