Commit e60e0af9 authored by christ's avatar christ

refund

parent f32e25b5
......@@ -1238,7 +1238,7 @@ class OrderConfirmUtil {
$storeGoodsList['storeCouponPrice'] = $storeCouponPrice;
$reliefAmount = $cartService->getOneCouponReliefAmount($coupon,$storeGoodsList);
if($reliefAmount&&$reliefAmount>\Our\ApiConst::zero){
$totalPrice = $totalPrice-$reliefAmount;
$totalPrice = ($reliefAmount > $totalPrice)? 0 : ($totalPrice-$reliefAmount);
}
return $totalPrice;
}
......
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