wesmiler 3 달 전
부모
커밋
fcd3030b33
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Models/AccountLogModel.php

+ 1 - 1
app/Models/AccountLogModel.php

@@ -33,7 +33,7 @@ class AccountLogModel extends BaseModel
     // 时间
     // 时间
     public function getRealMoneyAttribute()
     public function getRealMoneyAttribute()
     {
     {
-        return abs($this->money);
+        return moneyFormat(abs($this->money),2);
     }
     }
 
 
     // 类型
     // 类型