Commit 890df5c9 by 任晓松

删除订单

parent 4ac3eaa9
...@@ -1183,18 +1183,18 @@ class UtilsOrderService extends AppServiceBase { ...@@ -1183,18 +1183,18 @@ class UtilsOrderService extends AppServiceBase {
actionBody.product_item = product_item; actionBody.product_item = product_item;
//新增订单(商标自助注册) IC //新增订单(商标自助注册) IC
let icOrderResult = await this.utilsFqAliyunSve.pushOrder2IC(pobj, "pushOrder2IC"); let icOrderResult = await this.utilsFqAliyunSve.pushOrder2IC(pobj, "pushOrder2IC");
let orderUrl = settings.centerOrderUrl() +'action/order/springBoard';
if(icOrderResult.status !=0){ if(icOrderResult.status !=0){
for(let i =0;i<product_item.length;i++){ for(let i =0;i<product_item.length;i++){
actionBody.orderNo = product_item[i].idempotentId; actionBody.orderNo = product_item[i].idempotentId;
pobj.actionType = 'delOrder'; pobj.actionType = 'delOrder';
this.restPostUrl(pobj,url); let rt = await this.restPostUrl(pobj,orderUrl);
} }
return icOrderResult; return icOrderResult;
} }
let ids = icOrderResult.data.orderList; let ids = icOrderResult.data.orderList;
let orderServiceNo = await this.getBusUid("CN"); let orderServiceNo = await this.getBusUid("CN");
pobj.actionType = 'updateOrder'; pobj.actionType = 'updateOrder';
let orderUrl = settings.centerOrderUrl() +'action/order/springBoard';
let result = []; let result = [];
for(let i =0;i<ids.length;i++){ for(let i =0;i<ids.length;i++){
let orderNo = ids[i].idempotentId; let orderNo = ids[i].idempotentId;
......
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