return type of time update
This commit is contained in:
parent
1dd39c5e1e
commit
4ca1fbf320
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user