fix: 카카오 sendBulks, statusBulks 반영

dev
gitea-관리자 1 year ago
parent 30f048b074
commit e21710d97b

@ -261,15 +261,15 @@ public class KkopayEltrcDocService extends EgovAbstractServiceImpl implements
}
@Override
public ApiResponseDTO<ValidTokenResponse> findMyDocReadyAndMblPage(OneTimeToken reqDTO) {
public ApiResponseDTO<ValidTokenResponse> findMyDocReadyAndMblPage(final OneTimeToken reqDTO) {
reqDTO.setSignguCode(SignguCode.TRAFFIC.getCode());
reqDTO.setFfnlgCode(ApiConstants.FFNLN_CODE);
final String url = HOST + API_VALID_TOKEN[0].replace(DOCUMENT_BINDER_UUID, reqDTO.getDocument_binder_uuid())
.replace("{tokens}", reqDTO.getToken());
// 유효성 검증
final ValidTokenResponse validTokenRes = webClient.exchangeKko(url, HttpMethod.valueOf(API_VALID_TOKEN[1]), null,
ValidTokenResponse.class, getEnsRlaybsnmDTO(SignguCode.TRAFFIC.getCode(),
ApiConstants.FFNLN_CODE));
ValidTokenResponse.class, getEnsRlaybsnmDTO(reqDTO.getSignguCode(), reqDTO.getFfnlgCode()));
if(!"USED".equals(validTokenRes.getToken_status())){
return ApiResponseDTO.error(validTokenRes.getError_code(), validTokenRes.getError_message());

Loading…
Cancel
Save