Skip to content

Comments

feat: 환전 우대율 조회 시 우대 환율 반환값 추가#111

Merged
kswdot merged 8 commits intomainfrom
feat/#110
Dec 3, 2025
Merged

feat: 환전 우대율 조회 시 우대 환율 반환값 추가#111
kswdot merged 8 commits intomainfrom
feat/#110

Conversation

@kswdot
Copy link
Collaborator

@kswdot kswdot commented Dec 3, 2025

🗞️ 연관된 이슈

🔥 이슈번호

✅ 작업 내용

  • feat: 환전 우대율 조회 시 우대 환율 반환값 추가

📸 스크린샷 (선택)

체크리스트 ✅

  • 코드가 정상적으로 컴파일되나요?
  • merge할 브랜치의 위치를 확인했나요?
  • 테스트 코드를 작성하셨나요?

기타

@kswdot kswdot self-assigned this Dec 3, 2025
@kswdot kswdot linked an issue Dec 3, 2025 that may be closed by this pull request
1 task
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @kswdot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 환전 우대율 조회 기능을 개선하고 계좌 관련 보안을 강화하는 변경 사항을 포함합니다. 사용자가 특정 통화에 대한 우대 환율과 실제 적용될 환율을 조회할 수 있도록 기능을 확장했으며, 해외 송금 시 계좌 비밀번호 검증 절차를 도입하여 서비스의 안정성과 보안을 향상시켰습니다. 또한, 계좌 생성 시 불필요한 비밀번호 확인 절차를 제거하여 사용자 경험을 개선했습니다.

Highlights

  • 계좌 생성 간소화: 계좌 생성 요청 시 비밀번호 확인 필드(passwordConfirmation)와 관련 로직을 제거하여 계좌 생성 프로세스를 간소화했습니다.
  • 우대 환율 조회 기능 개선: 우대 환율 조회 API(preferential-rate)에 통화 코드(currency)를 추가하여 특정 통화에 대한 우대 환율 및 실제 적용될 환율을 반환하도록 기능을 확장했습니다.
  • 해외 송금 시 계좌 비밀번호 검증 추가: 해외 송금 요청 시 출금 계좌의 비밀번호를 입력받고, AccountService를 통해 해당 비밀번호를 검증하는 로직을 추가하여 보안을 강화했습니다.
  • 우대 환율 응답 객체 확장: 우대 환율 응답 DTO(PreferentialRateRes)에 실제 적용될 환율(appliedRate) 필드를 추가했습니다.
  • 테스트 코드 업데이트: 변경 사항에 맞춰 AccountServiceTest를 수정하고, ExchangeServiceTest에 우대 환율 조회 테스트를 추가했으며, ExchangeControllerTest를 새로 작성했습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

전반적으로 환전 우대율 조회 시 적용 환율을 함께 반환하는 기능이 잘 구현되었습니다. 또한 해외 송금 시 비밀번호를 검증하는 로직을 추가하여 보안을 강화한 점이 좋습니다. 테스트 코드도 꼼꼼하게 추가되었으나, 가독성과 유지보수성을 높이기 위해 몇 가지 개선할 점이 보입니다. 아래에 자세한 리뷰 의견을 남겼습니다.

@kswdot kswdot merged commit 38e9592 into main Dec 3, 2025
1 check passed
@kswdot kswdot deleted the feat/#110 branch December 3, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: 환전 우대율 조회 시 우대 환율 반환값 추가

1 participant