Commit 6b94b7a3 by 宋毅

接口修改

parent 63b7a8bd
......@@ -172,10 +172,10 @@ class IcpOrderService extends AppServiceBase {
if (rtn.status == 0 && rtn.data) {
let channelOrderNo = pobj.orderNo;
pobj.actionBody.orderNo = rtn.data.orderNo;
pobj.actionType = "delOrder";
pobj.actionType = "channeldelOrder";
let orderRes = await this.utilsOrderSve.delOrder(pobj, pobj.actionBody);
if (orderRes.status < 0) {
return system.getResultFail(-5022, "订单关闭失败");
return system.getResultFail(-5022, "订单关闭失败,6100006");
}
let tmpObj = {
actionBody: {
......@@ -197,6 +197,9 @@ class IcpOrderService extends AppServiceBase {
};
this.utilsPushSve.business2Channel(tmpObj2, "pushOrderICPClose");
}//通知更新状态
else {
return system.getResultFail(-5010, "订单创建失败,6100007");
}
return rtn;
}
}
......
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