feat: Product API에 FormRequest 및 i18n 적용

- ProductStoreRequest, ProductUpdateRequest 생성
- ProductController에 FormRequest 적용
- 하드코딩된 메시지를 i18n 키로 변경
- lang/ko/message.php에 product 관련 메시지 키 추가
- SAM API Development Rules 준수

Phase 3-1: ProductApi.php Swagger 점검 완료
This commit is contained in:
2025-11-07 02:29:51 +09:00
parent 977207f2fa
commit 78e3934baf
5 changed files with 276 additions and 12 deletions

View File

@@ -30,10 +30,13 @@
// 리소스별 세부 (필요 시)
'product' => [
'fetched' => '제품을 조회했습니다.',
'category_fetched' => '제품 카테고리를 조회했습니다.',
'created' => '제품이 등록되었습니다.',
'updated' => '제품이 수정되었습니다.',
'deleted' => '제품이 삭제되었습니다.',
'toggled' => '제품 상태가 변경되었습니다.',
'searched' => '제품을 검색했습니다.',
],
'bom' => [