Commit c74f6a04 by 宋毅

修改订单

parent 6a1147e8
...@@ -28,6 +28,9 @@ class OrderAPI extends APIBase { ...@@ -28,6 +28,9 @@ class OrderAPI extends APIBase {
async opActionProcess(pobj, action_type, req) { async opActionProcess(pobj, action_type, req) {
var opResult = null; var opResult = null;
switch (action_type) { switch (action_type) {
case "getOrderInfoByChannelOrderNo"://通过渠道订单号获取订单信息
opResult = await this.orderinfoSve.getOrderInfoByChannelOrderNo(pobj.actionBody.channelOrderNo);
break;
case "updateOrderPushStatus"://更新订单推送状态 case "updateOrderPushStatus"://更新订单推送状态
opResult = await this.orderinfoSve.updateOrderPushStatus(pobj.actionBody); opResult = await this.orderinfoSve.updateOrderPushStatus(pobj.actionBody);
break; break;
...@@ -172,7 +175,6 @@ class OrderAPI extends APIBase { ...@@ -172,7 +175,6 @@ class OrderAPI extends APIBase {
} }
return refResult; return refResult;
} }
} }
module.exports = OrderAPI; module.exports = OrderAPI;
\ No newline at end of file
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