订单时间

This commit is contained in:
liu
2026-09-24 22:56:17 +08:00
parent 2ca0ac4c22
commit 9831355386
19 changed files with 52 additions and 34 deletions
+5
View File
@@ -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');
}
}