Skip to content

feat: STD-47 예금주 조회(계좌인증)#117

Open
CTR-iNNate wants to merge 4 commits intodevelopfrom
feat/cert-account
Open

feat: STD-47 예금주 조회(계좌인증)#117
CTR-iNNate wants to merge 4 commits intodevelopfrom
feat/cert-account

Conversation

@CTR-iNNate
Copy link
Contributor

변경사항

AS-IS

TO-BE

  • 외부 API(PortOne)을 통한 예금주 조회(계좌인증) 기능을 추가하였습니다.
  • 은행코드와 계좌번호 입력시 예금주명을 알 수 있습니다.
  • 예금주명과 회원의 이름을 비교하여 같으면 계좌인증이 완료되도록 하였습니다.
  • isAccountCert -> true

테스트

  • 테스트 코드
  • API 테스트

@HanSeulChung
Copy link
Contributor

확인했습니다 👍🏻

private String impKey;

@Value("${portone.api.secret}")
private String impSecret;
Copy link
Contributor

Choose a reason for hiding this comment

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

yml파일에 어떤 값을 넣어야하는지 슬랙으로 공유해주시면 감사하겠습니다~

Copy link
Contributor

@impath96 impath96 left a comment

Choose a reason for hiding this comment

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

확인했습니다!

Comment on lines 82 to 85
try {

ObjectMapper objectMapper = new ObjectMapper();
Map<String, Object> responseMap = objectMapper.readValue(response, Map.class);
Copy link
Contributor

Choose a reason for hiding this comment

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

ObjectMapper 는 spring webmvc에 기본적으로 제공해주는 Bean 이어서 주입받아서 사용해도 될 것 같습니다!

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.

3 participants