Commit a8ca718f authored by wwccw0591's avatar wwccw0591

share

parent 5f5c5533
...@@ -1121,7 +1121,7 @@ class RefundServiceModel extends \Business\AbstractModel ...@@ -1121,7 +1121,7 @@ class RefundServiceModel extends \Business\AbstractModel
} }
$refundAmount = $refund['refundAmount'];//退款金额 $refundAmount = $refund['refundAmount'];//退款金额
if ($orderInfo['paymentTime']) { if ($orderInfo['paymentTime']) {
$maxRefundAmount=$orderGoods['goodsPayPrice']*$orderGoods*$orderGoods['goodsNum']; $maxRefundAmount=$orderGoods['goodsPayPrice']*$orderGoods['goodsNum'];
if (($refundAmount < ApiConst::zero) || ($refundAmount > $maxRefundAmount)) { if (($refundAmount < ApiConst::zero) || ($refundAmount > $maxRefundAmount)) {
$refundAmount = $maxRefundAmount; $refundAmount = $maxRefundAmount;
} }
......
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