Browse Source

Merge branch 'phoenix' of ssh://120.24.33.109:11022/hyzjshwo/lanzu_api_hyperf into phoenix

master
weigang 5 years ago
parent
commit
3f517b13f4
  1. 6
      app/Model/v3/FinancialRecord.php

6
app/Model/v3/FinancialRecord.php

@ -123,10 +123,6 @@ class FinancialRecord extends Model
public function getMoneyTextAttribute() public function getMoneyTextAttribute()
{ {
if($this->attributes['money_type'] >= 100){
return '- ¥ '.$this->attributes['money'];
}else{
return '+ ¥ '.$this->attributes['money'];
}
return '¥ '.$this->attributes['money'];
} }
} }
Loading…
Cancel
Save