본문 바로가기

대출7

대출 프로젝트 강의 있는 패캠 아아디 강의 있는 패캠 아이디 : yeongbin6####@gmail.com 2023. 12. 30.
대출 도메인 처리 과정, 대출 집행 도메인 API 1. 대출 신청 POST localhost:8080/applications 2. 심사 등록 POST localhost:8080/judgements 3. 승인금액 부여 PATCH http://127.0.0.1:8080/judgements/1/grants 4. 대출 계약 PUT http://127.0.0.1:8080/applications/1/contract 5. 대출 집행 POST http://127.0.0.1:8080/internal/applications/1/entries { "entryAmount":"5000000" } 6. 대출 상환 등록 POST http://127.0.0.1:8080/internal/applications/1/repayments { "repaymentAmount": 1000000.. 2023. 4. 16.
대출 심사 도메인 대출 심사 등록 기능 POST / http://127.0.0.1:8080/judgements { "applicationId":"1", "name":"김아무", "approvalAmount":"5000000" } 대출 심사 조회 기능 GET / http://127.0.0.1:8080/judgements/1 대출 심사 조회 기능 ( ApplicationId로 ) GET / http://127.0.0.1:8080/judgements/applications/1 대출 심사 수정 기능 PUT / http://127.0.0.1:8080/judgements/1 { "applicationId" : 1, "name" : "이아무", "approvalAmount" : 10000000 } 대출 심사 삭제 기능 DELETE /.. 2023. 3. 8.
대출 신청 서류 관련(조회, 전체조회, 삭제) 기능 구현 아래 API 테스트 위해서는 대출 신청 API 호출하여, ApplicationId가 존재하여야 테스트 가능하다. 대출 신청 등록 api 사용은 아래 포스팅에서 참조 https://charactermail.tistory.com/529 대출 신청 서류 업로드 (이미지 업로드) POST / http://127.0.0.1:8080/applications/1/files ApplicationId로 해당 applicationId에 저장된 대출 신청 서류 해당 명칭 것 가져오기 (이미지 조회) GET / http://127.0.0.1:8080/applications/1/files?fileName=딸케2.jpg ApplicationId로 해당 applicationId에 저장된 대출 신청 서류 전체 가져오기 GET / h.. 2023. 3. 5.