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 {
$this->errorCode=CodeConfigModel::isNotExpressType;
$isReturn=FALSE;
}
if($refundReturn['addressId']>ApiConst::zero){
$this->errorCode=CodeConfigModel::isNotExpressType;
$isReturn=FALSE;
}
// if($refundReturn['addressId']>ApiConst::zero){
// $this->errorCode=CodeConfigModel::isNotExpressType;
// $isReturn=FALSE;
// }
return $isReturn;
}
/**
......@@ -187,7 +187,8 @@ class RefundReturnModel extends \DAO\AbstractModel {
* @return array
*/
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;
}else{
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