From e6235733829020759055143c482aea4bf702e2c3 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Tue, 23 Jan 2024 17:39:49 +0800 Subject: [PATCH] update --- app/common/model/project/ProjectLogs.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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