Commit b3d4fd3a by 王栋源

wdy

parent 98e115ba
......@@ -205,8 +205,8 @@ class CenterorderService extends AppServiceBase {
*/
async pushIcpOrderDelivery2Qfb(orderNo, needsolution) {
var pushObj = {
orderNo:orderNo,
needsolution:needsolution.solutionContent
orderNo: orderNo,
needsolution: needsolution.solutionContent
};
var url = this.qifubaoUrl + "xxx/xxxxx";
var rtn = await this.execClient.execPost(pushObj, url);
......@@ -275,24 +275,23 @@ class CenterorderService extends AppServiceBase {
} else if (pobj.actionBody.channelItemCode == '7') {
pobj.actionBody.regType = "ali.edi";
}
if (solutiondata.status == 0) {
var fqobj = {
"actionType": "getOrderDetails",
"actionBody":
{
"area": pobj.actionBody.province,
"city": pobj.actionBody.province,
"regType": pobj.actionBody.regType,
"orderNo": pobj.actionBody.channelOrder.channelOrderNo,
"orderPrice": pobj.actionBody.orderPrice,
"phone": pobj.actionBody.mobile,
"needId": solutiondata.data.channelNeedNo
}
console.log(solutiondata);
var fqobj = {
"actionType": "getOrderDetails",
"actionBody":
{
"area": pobj.actionBody.province,
"city": pobj.actionBody.province,
"regType": pobj.actionBody.regType,
"orderNo": pobj.actionBody.channelOrder.channelOrderNo,
"orderPrice": pobj.actionBody.orderPrice,
"phone": pobj.actionBody.mobile,
"needId": solutiondata.data.channelNeedNo
}
console.log(fqobj);
console.log("-------------------------------------------------------------");
this.utilsPushSve.aliBusiness2Fq(fqobj, "pushOrderICPBusiness");
}
console.log(fqobj);
console.log("-------------------------------------------------------------");
this.utilsPushSve.aliBusiness2Fq(fqobj, "pushOrderICPBusiness");
return system.getResultSuccess();
}
//--------------------------阿里IC---end--------------------------------------------------------
......
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