--- src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java
+++ src/main/java/itn/let/uat/uia/web/EgovMypageRESTAPIController.java
... | ... | @@ -6,6 +6,7 @@ |
| 6 | 6 |
|
| 7 | 7 |
import javax.annotation.Resource; |
| 8 | 8 |
|
| 9 |
+import org.apache.commons.lang3.StringUtils; |
|
| 9 | 10 |
import org.springframework.stereotype.Controller; |
| 10 | 11 |
import org.springframework.ui.Model; |
| 11 | 12 |
import org.springframework.ui.ModelMap; |
... | ... | @@ -199,8 +200,11 @@ |
| 199 | 200 |
resultList = apiKeyMngService.selectApiKeyApplyStatus(apiKeyVO); |
| 200 | 201 |
System.out.println("=============");
|
| 201 | 202 |
if (resultList.size()>0) {
|
| 202 |
- resultList.get(0).setFrstRegistPnttm(DateUtil.getChangFormatS(resultList.get(0).getFrstRegistPnttm())); |
|
| 203 |
- resultList.get(0).setLastUpdtPnttm(DateUtil.getChangFormatS(resultList.get(0).getLastUpdtPnttm())); |
|
| 203 |
+ if(StringUtils.isNotEmpty(resultList.get(0).getFrstRegistPnttm())) |
|
| 204 |
+ {
|
|
| 205 |
+ resultList.get(0).setFrstRegistPnttm(DateUtil.getChangFormatS(resultList.get(0).getFrstRegistPnttm())); |
|
| 206 |
+ resultList.get(0).setLastUpdtPnttm(DateUtil.getChangFormatS(resultList.get(0).getLastUpdtPnttm())); |
|
| 207 |
+ } |
|
| 204 | 208 |
|
| 205 | 209 |
model.addAttribute("apiVO", resultList.get(0));
|
| 206 | 210 |
|
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab2.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab2.jsp
... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 |
</tr> |
| 25 | 25 |
<tr> |
| 26 | 26 |
<th>프로토콜</th> |
| 27 |
- <td>HHTP/1.1</td> |
|
| 27 |
+ <td>HTTP/1.1</td> |
|
| 28 | 28 |
</tr> |
| 29 | 29 |
<tr> |
| 30 | 30 |
<th>HOST</th> |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab3.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab3.jsp
... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 |
</tr> |
| 25 | 25 |
<tr> |
| 26 | 26 |
<th>프로토콜</th> |
| 27 |
- <td>HHTP/1.1</td> |
|
| 27 |
+ <td>HTTP/1.1</td> |
|
| 28 | 28 |
</tr> |
| 29 | 29 |
<tr> |
| 30 | 30 |
<th>HOST</th> |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab4.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab4.jsp
... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 |
</tr> |
| 24 | 24 |
<tr> |
| 25 | 25 |
<th>프로토콜</th> |
| 26 |
- <td>HHTP/1.1</td> |
|
| 26 |
+ <td>HTTP/1.1</td> |
|
| 27 | 27 |
</tr> |
| 28 | 28 |
<tr> |
| 29 | 29 |
<th>HOST</th> |
--- src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab5.jsp
+++ src/main/webapp/WEB-INF/jsp/web/api/apiSpec_tab5.jsp
... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 |
</tr> |
| 24 | 24 |
<tr> |
| 25 | 25 |
<th>프로토콜</th> |
| 26 |
- <td>HHTP/1.1</td> |
|
| 26 |
+ <td>HTTP/1.1</td> |
|
| 27 | 27 |
</tr> |
| 28 | 28 |
<tr> |
| 29 | 29 |
<th>HOST</th> |
--- src/main/webapp/sample_mjon/jsp_example_send_msg_r1.jsp
+++ src/main/webapp/sample_mjon/jsp_example_send_msg_r1.jsp
... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 |
//회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용 |
| 26 | 26 |
//실제서비스용 |
| 27 | 27 |
final String mberId = "dudgusw"; //문자온 로그인 아이디 |
| 28 |
- final String apiKey = "0096519c62100b9eea77c040a6045c"; //발급받은 api ke |
|
| 28 |
+ final String apiKey = "59d8d714ad68ae2e24e3ae2055334e3e"; //발급받은 api ke |
|
| 29 | 29 |
|
| 30 | 30 |
|
| 31 | 31 |
//테스트용 |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?