diff --git a/src/main/java/com/ALGo/ALGo_server/message/dto/MessageResponse.java b/src/main/java/com/ALGo/ALGo_server/message/dto/MessageResponse.java index e1086b5..01cdd54 100644 --- a/src/main/java/com/ALGo/ALGo_server/message/dto/MessageResponse.java +++ b/src/main/java/com/ALGo/ALGo_server/message/dto/MessageResponse.java @@ -15,9 +15,9 @@ public class MessageResponse { private String DSSTR_SE_ID; //재해구분 id private String DSSTR_SE_NM; //재해구분 명 - public MessageResponse(String MSG_CN, String trans_MSG_CN, String CREAT_DT, List RCV_AREA_ID, List RCV_AREA_NM, String EMRGNCY_STEP_ID, String DSSTR_SE_ID, String DSSTR_SE_NM){ + public MessageResponse(String MSG_CN, String CREAT_DT, List RCV_AREA_ID, List RCV_AREA_NM, String EMRGNCY_STEP_ID, String DSSTR_SE_ID, String DSSTR_SE_NM){ this.MSG_CN = MSG_CN; - this.trans_MSG_CN = trans_MSG_CN; + //this.trans_MSG_CN = trans_MSG_CN; this.CREAT_DT = CREAT_DT; this.RCV_AREA_ID = RCV_AREA_ID; this.RCV_AREA_NM = RCV_AREA_NM; diff --git a/src/main/java/com/ALGo/ALGo_server/message/service/MessageService.java b/src/main/java/com/ALGo/ALGo_server/message/service/MessageService.java index f965864..ac409fa 100644 --- a/src/main/java/com/ALGo/ALGo_server/message/service/MessageService.java +++ b/src/main/java/com/ALGo/ALGo_server/message/service/MessageService.java @@ -95,8 +95,8 @@ public MessageResponse message(User user) throws IOException, ParseException { String a = areaNmArr.get(j); } - String translatedMSG = naverTransService.getTransSentence(MSG_CN, user); - MessageResponse response = new MessageResponse(MSG_CN, translatedMSG, CREAT_DT, areaIdArr, areaNmArr, EMRGNCY_STEP_ID, DSSTR_SE_ID, DSSTR_SE_NM); + //String translatedMSG = naverTransService.getTransSentence(MSG_CN, user); + MessageResponse response = new MessageResponse(MSG_CN, CREAT_DT, areaIdArr, areaNmArr, EMRGNCY_STEP_ID, DSSTR_SE_ID, DSSTR_SE_NM); msgResArr.add(response); } @@ -107,7 +107,6 @@ public MessageResponse message(User user) throws IOException, ParseException { String combinedCity = city + gu; MessageResponse result = null; - // 지역 찾기 for (int i=0; i