ApiResponse 헬퍼 확장 및 Tenant 요청 검증 개선
This commit is contained in:
@@ -8,10 +8,12 @@ trait ModelTrait
|
||||
{
|
||||
/**
|
||||
* 날짜 직렬화 포맷 오버라이드 (모델에 추가해서 사용)
|
||||
*
|
||||
* ISO 8601 (2025-12-22T15:00:00.000000Z) → Y-m-d (2025-12-22)
|
||||
*/
|
||||
protected function serializeDate(DateTimeInterface $date)
|
||||
protected function serializeDate(DateTimeInterface $date): string
|
||||
{
|
||||
return $date->format('Y-m-d H:i:s');
|
||||
return $date->format('Y-m-d');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user