|
|
@ -104,7 +104,7 @@ public class KkotalkEltrcDocService extends AbstractService implements
|
|
|
|
if(Checks.isEmpty(envelope.getBirthday())) Objects.requireNonNull(errors).add("birthday=받는이 생년월일은 필수입니다.");
|
|
|
|
if(Checks.isEmpty(envelope.getBirthday())) Objects.requireNonNull(errors).add("birthday=받는이 생년월일은 필수입니다.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(!Objects.requireNonNull(errors).isEmpty()) throw BizRuntimeException.create(errors.toString());
|
|
|
|
if(!Objects.requireNonNull(errors).isEmpty()) throw BizRuntimeException.create(errors.toString());
|
|
|
|
return webClient.exchangeKkopay(
|
|
|
|
return webClient.exchangeKkotalk(
|
|
|
|
HOST + API_SEND[0].replace("{PRODUCT_CODE}", reqDTO.getProductCode()),
|
|
|
|
HOST + API_SEND[0].replace("{PRODUCT_CODE}", reqDTO.getProductCode()),
|
|
|
|
HttpMethod.valueOf(API_SEND[1]),
|
|
|
|
HttpMethod.valueOf(API_SEND[1]),
|
|
|
|
JsonUtils.toJson(envelope),
|
|
|
|
JsonUtils.toJson(envelope),
|
|
|
@ -151,7 +151,7 @@ public class KkotalkEltrcDocService extends AbstractService implements
|
|
|
|
|
|
|
|
|
|
|
|
final String url = HOST + API_MODIFY_STATUS[0].replace(ENVELOPE_ID, reqDTO.getEnvelopeId());
|
|
|
|
final String url = HOST + API_MODIFY_STATUS[0].replace(ENVELOPE_ID, reqDTO.getEnvelopeId());
|
|
|
|
|
|
|
|
|
|
|
|
webClient.exchangeKkopay(url, HttpMethod.valueOf(API_MODIFY_STATUS[1]), null, Void.class, getRlaybsnmInfo(reqDTO));
|
|
|
|
webClient.exchangeKkotalk(url, HttpMethod.valueOf(API_MODIFY_STATUS[1]), null, Void.class, getRlaybsnmInfo(reqDTO));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -272,7 +272,7 @@ public class KkotalkEltrcDocService extends AbstractService implements
|
|
|
|
if(!errors.isEmpty()) {
|
|
|
|
if(!errors.isEmpty()) {
|
|
|
|
throw BizRuntimeException.create(errors.toString());
|
|
|
|
throw BizRuntimeException.create(errors.toString());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return webClient.exchangeKkopay(
|
|
|
|
return webClient.exchangeKkotalk(
|
|
|
|
HOST + API_BULKSTATUS[0],
|
|
|
|
HOST + API_BULKSTATUS[0],
|
|
|
|
HttpMethod.valueOf(API_BULKSTATUS[1]),
|
|
|
|
HttpMethod.valueOf(API_BULKSTATUS[1]),
|
|
|
|
JsonUtils.toJson(envelopes),
|
|
|
|
JsonUtils.toJson(envelopes),
|
|
|
|