feat: api사용안내 오타 수정
This commit is contained in:
parent
5db3662f55
commit
d883e882e3
@ -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));
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th>프로토콜</th>
|
||||
<td>HHTP/1.1</td>
|
||||
<td>HTTP/1.1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>HOST</th>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th>프로토콜</th>
|
||||
<td>HHTP/1.1</td>
|
||||
<td>HTTP/1.1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>HOST</th>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th>프로토콜</th>
|
||||
<td>HHTP/1.1</td>
|
||||
<td>HTTP/1.1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>HOST</th>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th>프로토콜</th>
|
||||
<td>HHTP/1.1</td>
|
||||
<td>HTTP/1.1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>HOST</th>
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
//회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용
|
||||
//실제서비스용
|
||||
final String mberId = "dudgusw"; //문자온 로그인 아이디
|
||||
final String apiKey = "0096519c62100b9eea77c040a6045c"; //발급받은 api ke
|
||||
final String apiKey = "59d8d714ad68ae2e24e3ae2055334e3e"; //발급받은 api ke
|
||||
|
||||
|
||||
//테스트용
|
||||
|
||||
Loading…
Reference in New Issue
Block a user