diff --git a/src/main/java/com/icomsys/MessagingConnector.java b/src/main/java/com/icomsys/MessagingConnector.java index 400b77f..924c12e 100644 --- a/src/main/java/com/icomsys/MessagingConnector.java +++ b/src/main/java/com/icomsys/MessagingConnector.java @@ -118,11 +118,12 @@ public class MessagingConnector { HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.MULTIPART_FORM_DATA); headers.add("sejongApiKey", apiKey); - + System.out.println("headers : " + headers); // Body MULTIPART_FORM_DATA로 변환 MultiValueMap body = new LinkedMultiValueMap<>(); ObjectMapper objectMapper = new ObjectMapper(); Map map = null; + System.out.println("messageSendRequest : " + messageSendRequest); // SMS if (messageSendRequest.getSendType().equals("SMS")) { @@ -159,6 +160,7 @@ public class MessagingConnector { }); sejongMessageSendResponse = response.getBody(); + System.out.println("response.getBody() : " + response.getBody()); } catch (Exception e) { messageSendResponse.setCode("500"); @@ -177,8 +179,6 @@ public class MessagingConnector { if (!Objects.equals(sejongMessageSendResponse.getCode(), "200")) { messageSendRequest.setSendType(""); messageSendResponse = this.messageDiv(messageSendRequest); - -// messageSendServiceDsl.updateSendLog(seq); } }