diff --git a/src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java b/src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java index e9868c81..5dffd14d 100644 --- a/src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java +++ b/src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java @@ -6,6 +6,7 @@ import java.util.List; import javax.annotation.Resource; +import org.apache.commons.lang3.StringUtils; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.ui.ModelMap; @@ -199,8 +200,11 @@ public class EgovMypageRESTAPIController{ resultList = apiKeyMngService.selectApiKeyApplyStatus(apiKeyVO); System.out.println("============="); if (resultList.size()>0) { - resultList.get(0).setFrstRegistPnttm(DateUtil.getChangFormatS(resultList.get(0).getFrstRegistPnttm())); - resultList.get(0).setLastUpdtPnttm(DateUtil.getChangFormatS(resultList.get(0).getLastUpdtPnttm())); + if(StringUtils.isNotEmpty(resultList.get(0).getFrstRegistPnttm())) + { + resultList.get(0).setFrstRegistPnttm(DateUtil.getChangFormatS(resultList.get(0).getFrstRegistPnttm())); + resultList.get(0).setLastUpdtPnttm(DateUtil.getChangFormatS(resultList.get(0).getLastUpdtPnttm())); + } model.addAttribute("apiVO", resultList.get(0)); diff --git a/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab2.jsp b/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab2.jsp index 8cc3dcea..a1d49448 100644 --- a/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab2.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab2.jsp @@ -24,7 +24,7 @@ 프로토콜 - HHTP/1.1 + HTTP/1.1 HOST diff --git a/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab3.jsp b/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab3.jsp index f47a3054..32fae9e8 100644 --- a/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab3.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab3.jsp @@ -24,7 +24,7 @@ 프로토콜 - HHTP/1.1 + HTTP/1.1 HOST diff --git a/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab4.jsp b/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab4.jsp index e69b59de..44d4a720 100644 --- a/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab4.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab4.jsp @@ -23,7 +23,7 @@ 프로토콜 - HHTP/1.1 + HTTP/1.1 HOST diff --git a/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab5.jsp b/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab5.jsp index 3989e89c..df406dc3 100644 --- a/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab5.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab5.jsp @@ -23,7 +23,7 @@ 프로토콜 - HHTP/1.1 + HTTP/1.1 HOST diff --git a/src/main/webapp/sample_mjon/jsp_example_send_msg_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_send_msg_r1.jsp index dd42e1ea..7dfab17d 100644 --- a/src/main/webapp/sample_mjon/jsp_example_send_msg_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_send_msg_r1.jsp @@ -25,7 +25,7 @@ //회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용 //실제서비스용 final String mberId = "dudgusw"; //문자온 로그인 아이디 - final String apiKey = "0096519c62100b9eea77c040a6045c"; //발급받은 api ke + final String apiKey = "59d8d714ad68ae2e24e3ae2055334e3e"; //발급받은 api ke //테스트용