订单时间
This commit is contained in:
@@ -96,4 +96,9 @@ class StoreModel extends Authenticatable
|
||||
{
|
||||
return $this->hasMany(NoticeModel::class, 'store_id', 'id');
|
||||
}
|
||||
|
||||
protected function serializeDate(\DateTimeInterface $date)
|
||||
{
|
||||
return $date->setTimezone('Asia/Shanghai')->format('Y-m-d H:i:s');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user