zilong 4 년 전
부모
커밋
a33e4303b4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Models/Patient.php

+ 2 - 2
app/Models/Patient.php

xqd
@@ -10,8 +10,8 @@ namespace App\Models;
 
 class Patient extends BaseModel
 {
-    protected $appends = ['is_collect'];
-    
+    protected $appends = ['age'];
+
     public function getAgeAttribute()
     {
         return birthday_to_age($this->birthday);