This commit is contained in:
luofei 2023-08-09 11:24:40 +08:00
parent 0834d5f14c
commit bacb0044ea

View File

@ -42,21 +42,20 @@ class Logistics extends BaseModel
public function getQhTimeAttr($value): string
{
return date('Y-m-d H:i:s',$value);
}
return !empty($value) ? date('Y-m-d H:i:s',$value) : $value;
public function getShTimeAttr($value): string
{
return date('Y-m-d H:i:s',$value);
return !empty($value) ? date('Y-m-d H:i:s',$value) : $value;
}
public function getPcTimeAttr($value): string
{
return date('Y-m-d H:i:s',$value);
return !empty($value) ? date('Y-m-d H:i:s',$value) : $value;
}
public function getQxTimeAttr($value): string
{
return date('Y-m-d H:i:s',$value);
return !empty($value) ? date('Y-m-d H:i:s',$value) : $value;
}
}