From 0834d5f14cd15987166c894e4826bd299899db5b Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Wed, 9 Aug 2023 11:23:12 +0800 Subject: [PATCH] aa --- app/common/model/logistics/Logistics.php | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/app/common/model/logistics/Logistics.php b/app/common/model/logistics/Logistics.php index fb960595..97a7cbf6 100755 --- a/app/common/model/logistics/Logistics.php +++ b/app/common/model/logistics/Logistics.php @@ -39,5 +39,24 @@ class Logistics extends BaseModel { return date('Y-m-d H:i:s',$value); } - + + public function getQhTimeAttr($value): string + { + return date('Y-m-d H:i:s',$value); + } + + public function getShTimeAttr($value): string + { + return date('Y-m-d H:i:s',$value); + } + + public function getPcTimeAttr($value): string + { + return date('Y-m-d H:i:s',$value); + } + + public function getQxTimeAttr($value): string + { + return date('Y-m-d H:i:s',$value); + } } \ No newline at end of file