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);