Commit 508c93e9 by 庄冰

utilsNeedSve.js

parent aff47d81
......@@ -1438,15 +1438,15 @@ class UtilsNeedService extends AppServiceBase {
}
//关闭icp订单
async icpOrderClose(pobj) {
var actionBody = pobj.actionBody;
var actionBody = pobj;
var self = this;
var url = settings.centerOrderUrl() + "action/qcapi/springBoard";
var rtn = await this.restPostUrl(pobj, url);
if (rtn.status == 0 && rtn.data) {
pobj.actionBody.orderNo = rtn.data.orderNo;
var orderrtn = await self.utilsOrderSve.delOrder(pobj, pobj.actionBody);
var orderrtn = await self.utilsOrderSve.delOrder(pobj, pobj);
if (orderrtn.status < 0) {
return system.getResultFail(-5022, "订单关闭失败");
// return system.getResultFail(-5022, "订单关闭失败");
}
var tmpObj = {
actionBody: {
......
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