Commit 98baf235 by 任晓松

测试环境屏蔽价格校验

parent 222e91c2
......@@ -49,9 +49,9 @@ class UtilsOrderService extends AppServiceBase {
}
console.log("buyTotalSum", buyTotalSum)
console.log("totalSum", totalSum)
// if (buyTotalSum < totalSum) {
// return system.getResult(null, "订单金额有误,100060");
// }
if (buyTotalSum < totalSum) {
return system.getResult(null, "订单金额有误,100060");
}
let tmpPriceList = [];
pobj.actionBody.product_info.price_item = price_list[productIndex];
tmpPriceList.push(pobj.actionBody.product_info.price_item);
......@@ -1414,5 +1414,12 @@ class UtilsOrderService extends AppServiceBase {
let result = await this.restPostUrl(pobj, url);
return result;
}
//测试
async pushTest(pobj,actionBody){
let url = this.centerOrderUrl + "notifyaction/internalCallsNotify/updateTmStatus";
let result = await this.restPostUrl(actionBody,url);
return result
}
}
module.exports = UtilsOrderService;
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