Commit 17001914 by 任晓松

udpate

parent 36df815b
......@@ -956,25 +956,25 @@ class UtilsOrderService extends AppServiceBase {
actionBody: opOrderResult.data
}
// 推送
// let yfRet = await this.utilsPushSve.pushBusInfo(pobj, "pushOrder", 0);
// if(yfRet.status !=0){
// return yfRet;
// }
// if (['icpsq', 'edisq'].includes(opOrderResult.data.product_info.channel_item_code)) {
// //创建方案
// pobj.salesmanInfo ={
// "salesmanId":yfRet.data.orderList[0].operator || "",
// "salesmanName":yfRet.data.orderList[0].operatorName || "",
// "salesmanMobile":yfRet.data.orderList[0].phone ||"",
// "salesmanChannelId":yfRet.data.orderList[0].channelUserId || ""
// }
// let pushRet = await this.packagingPushData(pobj);
// if (pushRet.status != 0) {
// throw new Error('推送失败')
// }
// pobj.actionBody = pushRet.data;
// this.utilsPushSve.aliBusiness2Delivery(pobj, "pushDeliveryOrder");
// }
let yfRet = await this.utilsPushSve.pushBusInfo(pobj, "pushOrder", 0);
if(yfRet.status !=0){
return yfRet;
}
if (['icpsq', 'edisq'].includes(opOrderResult.data.product_info.channel_item_code)) {
//创建方案
pobj.salesmanInfo ={
"salesmanId":yfRet.data.orderList[0].operator || "",
"salesmanName":yfRet.data.orderList[0].operatorName || "",
"salesmanMobile":yfRet.data.orderList[0].phone ||"",
"salesmanChannelId":yfRet.data.orderList[0].channelUserId || ""
}
let pushRet = await this.packagingPushData(pobj);
if (pushRet.status != 0) {
throw new Error('推送失败')
}
pobj.actionBody = pushRet.data;
this.utilsPushSve.aliBusiness2Delivery(pobj, "pushDeliveryOrder");
}
//订单状态 已接单 目前360在用
if(pobj.appInfo.uapp_id == '50'){
......
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