Commit 4f459959 authored by christ's avatar christ

pc

parent 0e7d0082
......@@ -1157,7 +1157,7 @@ class RefundServiceModel extends \Business\AbstractModel
$storeDao=\DAO\StoreModel::getInstance();
$orderDao->setDb(DbNameConst::masterDBConnectName);
$orderDao->db->doTransaction();
if($refund['refundType']==ApiConst::refundTypeGoods){
if($refund['refundType']==ApiConst::refundTypeGoods && $refund['refundShippingType']==ApiConst::bySeller){
$refund['refundAmount']-=$orderInfo['needShippingFee'];
}
......
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