Commit 8e73f997 authored by liuyuzhen's avatar liuyuzhen

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into lyz

parents c140108c 5ce5d9d0
...@@ -82,10 +82,10 @@ class RefundReturnModel extends \DAO\AbstractModel { ...@@ -82,10 +82,10 @@ class RefundReturnModel extends \DAO\AbstractModel {
$this->errorCode=CodeConfigModel::isNotExpressType; $this->errorCode=CodeConfigModel::isNotExpressType;
$isReturn=FALSE; $isReturn=FALSE;
} }
if($refundReturn['addressId']>ApiConst::zero){ // if($refundReturn['addressId']>ApiConst::zero){
$this->errorCode=CodeConfigModel::isNotExpressType; // $this->errorCode=CodeConfigModel::isNotExpressType;
$isReturn=FALSE; // $isReturn=FALSE;
} // }
return $isReturn; return $isReturn;
} }
/** /**
...@@ -187,7 +187,8 @@ class RefundReturnModel extends \DAO\AbstractModel { ...@@ -187,7 +187,8 @@ class RefundReturnModel extends \DAO\AbstractModel {
* @return array * @return array
*/ */
public function isPlatformIn($refundInfo){ public function isPlatformIn($refundInfo){
if(($refundInfo['isPlatformIn']==ApiConst::platNotIn&&$refundInfo['sellerState']==ApiConst::refundSellerRefuse) || $refundInfo['buyerRefundAmount']>$refundInfo['refundAmount']){
if(($refundInfo['isPlatformIn']==ApiConst::platNotIn && $refundInfo['sellerState']==ApiConst::refundSellerRefuse) || $refundInfo['buyerRefundAmount']>$refundInfo['refundAmount']){
return TRUE; return TRUE;
}else{ }else{
return FALSE; return FALSE;
......
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