diff --git a/app/common/model/logistics/Logistics.php b/app/common/model/logistics/Logistics.php index c4d62c7b..9bfec23d 100755 --- a/app/common/model/logistics/Logistics.php +++ b/app/common/model/logistics/Logistics.php @@ -40,22 +40,17 @@ class Logistics extends BaseModel return date('Y-m-d H:i:s',$value); } - public function getQhTimeAttr($value): string + public function getQhTimeAttr($value): string|int { return !empty($value) ? date('Y-m-d H:i:s',$value) : $value; } - public function getShTimeAttr($value): string + public function getPsTimeAttr($value): string|int { return !empty($value) ? date('Y-m-d H:i:s',$value) : $value; } - public function getPsTimeAttr($value): string - { - return !empty($value) ? date('Y-m-d H:i:s',$value) : $value; - } - - public function getQxTimeAttr($value): string + public function getQxTimeAttr($value): string|int { return !empty($value) ? date('Y-m-d H:i:s',$value) : $value; }