Commit 9d7bd73d by linboxuan

produceNoticeAliEsp update

parent a9a437b9
...@@ -1113,6 +1113,7 @@ class UtilsNeedService extends AppServiceBase { ...@@ -1113,6 +1113,7 @@ class UtilsNeedService extends AppServiceBase {
if(rtn.status) { if(rtn.status) {
return rtn; return rtn;
} }
if ((actionBody.operationType == "USER_PAY_PRODUCE" || actionBody.operationType == "USER_UPLOAD_PRODUCE") && rtn.data) {
var deliveryObj = { var deliveryObj = {
actionBody: { actionBody: {
orderNo: rtn.data.orderNo,//pobj.actionBody.channelOrder.channelOrderNo, orderNo: rtn.data.orderNo,//pobj.actionBody.channelOrder.channelOrderNo,
...@@ -1128,7 +1129,8 @@ class UtilsNeedService extends AppServiceBase { ...@@ -1128,7 +1129,8 @@ class UtilsNeedService extends AppServiceBase {
} }
console.log(deliveryObj) console.log(deliveryObj)
this.utilsPushSve.aliBusiness2Delivery(deliveryObj, "pushDeliveryOrder"); this.utilsPushSve.aliBusiness2Delivery(deliveryObj, "pushDeliveryOrder");
if (rtn.status == 0 && actionBody.operationType != "" && actionBody.status != 2 && rtn.data) { }
if (rtn.status == 0 && actionBody.operationType != "USER_PAY_PRODUCE" && actionBody.operationType != "USER_UPLOAD_PRODUCE" && rtn.data) {
var tmpObj = { var tmpObj = {
actionBody: { actionBody: {
orderNo: rtn.data.orderNo, orderNo: rtn.data.orderNo,
......
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