From e58fc1cc266d0c461f541982d03db288d407de0e Mon Sep 17 00:00:00 2001 From: seokjun jeon Date: Mon, 13 Jan 2025 11:23:15 +0900 Subject: [PATCH] 20250113_3 --- src/main/java/com/icomsys/MessagingConnector.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }