Commit 7a0294db authored by liuyuzhen's avatar liuyuzhen

优惠券元和分转换问题

parent 4c6a5ead
...@@ -401,6 +401,7 @@ class OrderConfirmUtil { ...@@ -401,6 +401,7 @@ class OrderConfirmUtil {
if($orderAmount<=\Our\ApiConst::zero){ if($orderAmount<=\Our\ApiConst::zero){
$orderAmount = \Our\ApiConst::zero; $orderAmount = \Our\ApiConst::zero;
} }
\Our\Log::getInstance()->write($orderAmount,'/data/log/apptest');
if($orderAmount!=$requestData['totalFee']){ if($orderAmount!=$requestData['totalFee']){
\Error\ErrorModel::throwException(\Error\CodeConfigModel::wrongTotalFeeForOrder); \Error\ErrorModel::throwException(\Error\CodeConfigModel::wrongTotalFeeForOrder);
} }
......
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