feat: 세금 시뮬레이션 API 개발 (Phase 1.3)
- LoanService에 taxSimulation() 메서드 추가 - LoanController에 taxSimulation() 액션 추가 - GET /api/v1/loans/tax-simulation 라우트 등록 - Swagger LoanTaxSimulation 스키마 및 엔드포인트 문서화 - 법인세/소득세 비교 분석 데이터 제공 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -122,4 +122,15 @@ public function interestReport(int $year): JsonResponse
|
||||
|
||||
return ApiResponse::handle('message.fetched', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* 세금 시뮬레이션
|
||||
*/
|
||||
public function taxSimulation(LoanCalculateInterestRequest $request): JsonResponse
|
||||
{
|
||||
$validated = $request->validated();
|
||||
$result = $this->loanService->taxSimulation($validated['year']);
|
||||
|
||||
return ApiResponse::handle('message.fetched', $result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user