Commit f4d708ae by 王栋源

wdy

parent 5e49b5b0
......@@ -56,21 +56,27 @@ class QcCenterOrderService extends AppServiceBase {
//推送方案
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 = {
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"}
intentionBizId: needinfo.channelNeedNo
},
requestId: pobj.requestId || "" // N 请求id
appInfo: pobj.appInfo
}
this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams);
this.utilsPushSve.aliBusiness2Delivery(reqParams, "updateChanceStatus");
return system.getResultSuccess();
}
return res;
......
......@@ -53,20 +53,25 @@ class UtilsNeedService extends AppServiceBase {
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 = {
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
actionBody: pobj.actionBody,
appInfo: pobj.appInfo
}
this.opQueuePushClientPost(pobj, this.opPushQueueUrl, reqParams);
this.utilsPushSve.aliBusiness2Delivery(reqParams, "addChance");
this.utilsPushSve.aliBusiness2Fq(pobj, "pushNeedICPBusiness");
}
......@@ -300,6 +305,7 @@ class UtilsNeedService extends AppServiceBase {
var tmpObj = {
actionBody: {
orderNo: rtn.data.orderNo,
channelNeedNo: rtn.data.channelNeedNo,
needsolution: rtn.data.solutionContent
},
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