Commit 2d42717f authored by christ's avatar christ

退款退货

parent e0e75f25
...@@ -472,7 +472,7 @@ class RefundReturnModel extends \DAO\AbstractModel { ...@@ -472,7 +472,7 @@ class RefundReturnModel extends \DAO\AbstractModel {
$refund_array['goods_image'] = $goods['goodsImage']; $refund_array['goods_image'] = $goods['goodsImage'];
} }
if($refund_array['goods_id']==ApiConst::zero){ if($refund_array['goods_id']==ApiConst::zero){
throw ErrorModel::throwException(CodeConfigModel::commonError);
} }
if(!isset($refund_array['refund_sn'])|| !$refund_array['refund_sn']){ if(!isset($refund_array['refund_sn'])|| !$refund_array['refund_sn']){
$refund_array['refund_sn'] = $this->getRefundsn($order['storeId']); $refund_array['refund_sn'] = $this->getRefundsn($order['storeId']);
......
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