diff --git a/app/common/model/project/ProjectLogs.php b/app/common/model/project/ProjectLogs.php index 739c0efdd..35627b192 100644 --- a/app/common/model/project/ProjectLogs.php +++ b/app/common/model/project/ProjectLogs.php @@ -30,5 +30,11 @@ class ProjectLogs extends BaseModel protected $name = 'project_logs'; protected $deleteTime = 'delete_time'; - + public function getNextFollowUpDateAttr($value){ + return !empty($value) ? date('Y-m-d',$value) : ''; + } + + public function getDateAttr($value){ + return !empty($value) ? date('Y-m-d',$value) : ''; + } } \ No newline at end of file