Commit 415bf3f7 by 宋毅

tj

parent 7fb29e26
...@@ -51,10 +51,14 @@ class UtilsOrderService extends AppServiceBase { ...@@ -51,10 +51,14 @@ class UtilsOrderService extends AppServiceBase {
// if (buyTotalSum < totalSum) { // if (buyTotalSum < totalSum) {
// return system.getResult(null, "订单金额有误,100060"); // return system.getResult(null, "订单金额有误,100060");
// } // }
let tmpPriceList = [];
pobj.actionBody.product_info.price_item = price_list[productIndex]; pobj.actionBody.product_info.price_item = price_list[productIndex];
tmpPriceList.push(pobj.actionBody.product_info.price_item);
if (additionsIndex >= 0) { if (additionsIndex >= 0) {
pobj.actionBody.product_info.price_additions_item = price_list[additionsIndex]; pobj.actionBody.product_info.price_additions_item = price_list[additionsIndex];
tmpPriceList.push(pobj.actionBody.product_info.price_additions_item);
} }
pobj.actionBody.price_list = tmpPriceList;
return system.getResultSuccess(); return system.getResultSuccess();
} }
/** /**
......
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