Commit 5ce5d9d0 authored by wwccw0591's avatar wwccw0591

pc

parent b76e4e20
......@@ -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