From c67abd98058cbe9fa7754d3642da50c5cf27cbf8 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Tue, 15 Sep 2020 17:19:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E5=85=A5=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Model/v3/FinancialRecord.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/Model/v3/FinancialRecord.php b/app/Model/v3/FinancialRecord.php index 0d56fe7..965d763 100644 --- a/app/Model/v3/FinancialRecord.php +++ b/app/Model/v3/FinancialRecord.php @@ -123,10 +123,6 @@ class FinancialRecord extends Model public function getMoneyTextAttribute() { - if($this->attributes['money_type'] >= 100){ - return '- ¥ '.$this->attributes['money']; - }else{ - return '+ ¥ '.$this->attributes['money']; - } + return '¥ '.$this->attributes['money']; } } \ No newline at end of file