|
@@ -423,6 +423,7 @@ class Refund Extends Model
|
|
|
public function gethasMoneyAttr($_,$model){
|
|
|
return $this->isRefundMoney();
|
|
|
}
|
|
|
+ #是否是需要寄回
|
|
|
public function getIsGoodsBackAttr($_,$model){
|
|
|
return $this->refund_status==self::REFUND_PASS && in_array($this->refund_type,self::getRefundTypeGoods());
|
|
|
}
|