feat: 카카오톡 전자고지 유효성 검증 시 상태가 없음

main
kjh 3 months ago
parent 5ee791172b
commit 22f2d1d575

@ -290,11 +290,6 @@ public class KkotalkEltrcDocService extends AbstractService implements
final KkotalkApiDTO.ValidTokenResponse validTokenRes = webClient.exchangeKkotalk(url, HttpMethod.valueOf(API_VALID_TOKEN[1]), null,
KkotalkApiDTO.ValidTokenResponse.class, getRlaybsnmInfo(reqDTO));
// FIXME: USED ??
// if(!"USED".equals(validTokenRes.getStatus())){
// return ApiResponseDTO.error(validTokenRes.getErrorCode(), validTokenRes.getErrorMessage());
// }
// 문서상태 변경
final String url2 = HOST + API_MODIFY_STATUS[0].replace(ENVELOPE_ID, reqDTO.getEnvelopeId());
@ -304,8 +299,6 @@ public class KkotalkEltrcDocService extends AbstractService implements
if(errorDTO != null){
return ApiResponseDTO.error(errorDTO.getErrorCode(), errorDTO.getErrorMessage());
}
return ApiResponseDTO.success();
}

Loading…
Cancel
Save