Commit 5c9eac71 authored by christ's avatar christ

refund

parent 6bab2773
......@@ -1080,9 +1080,12 @@ class RefundServiceModel extends \Business\AbstractModel
}
if($allReadyGoodsCount==ApiConst::one){
$refundAmount=$refundAmount+$orderInfo['shippingFee'];
if($shippingFee && ($orderInfo['shippingType']==ApiConst::bySeller)){
if($shippingFee){
$refundAmount=$refundAmount-$orderInfo['shippingFee'];
}
// if($shippingFee && ($orderInfo['shippingType']==ApiConst::bySeller)){
// $refundAmount=$refundAmount-$orderInfo['shippingFee'];
// }
}
//修改后的优惠金额按比例退回
$discountAmount=$orderInfo['originAmount']- $orderInfo['orderAmount'];
......
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