Commit 5ea5df42 by 任晓松

ic返回数据

parent 890df5c9
......@@ -1195,17 +1195,23 @@ class UtilsOrderService extends AppServiceBase {
let ids = icOrderResult.data.orderList;
let orderServiceNo = await this.getBusUid("CN");
pobj.actionType = 'updateOrder';
let result = [];
let orderNos = [];
let orderIds = [];
for(let i =0;i<ids.length;i++){
let orderNo = ids[i].idempotentId;
let contractNo = ids[i].contractNo;
result.push(ids[i].orderNo)
orderNos.push(ids[i].orderNo)
orderIds.push(ids[i].orderId)
actionBody.orderNo = orderNo;
actionBody.channelServiceNo = contractNo;
actionBody.channelOrderNo = ids[i].orderNo;
actionBody.orderServiceNo = orderServiceNo;
let rest = await this.restPostUrl(pobj,orderUrl);
}
let result ={
orderNos,
orderIds
}
return system.getResultSuccess(result)
}
}
......
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