|
|
@ -290,11 +290,6 @@ public class KkotalkEltrcDocService extends AbstractService implements
|
|
|
|
final KkotalkApiDTO.ValidTokenResponse validTokenRes = webClient.exchangeKkotalk(url, HttpMethod.valueOf(API_VALID_TOKEN[1]), null,
|
|
|
|
final KkotalkApiDTO.ValidTokenResponse validTokenRes = webClient.exchangeKkotalk(url, HttpMethod.valueOf(API_VALID_TOKEN[1]), null,
|
|
|
|
KkotalkApiDTO.ValidTokenResponse.class, getRlaybsnmInfo(reqDTO));
|
|
|
|
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());
|
|
|
|
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){
|
|
|
|
if(errorDTO != null){
|
|
|
|
return ApiResponseDTO.error(errorDTO.getErrorCode(), errorDTO.getErrorMessage());
|
|
|
|
return ApiResponseDTO.error(errorDTO.getErrorCode(), errorDTO.getErrorMessage());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return ApiResponseDTO.success();
|
|
|
|
return ApiResponseDTO.success();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|