Merge branch 'hylee'

This commit is contained in:
hylee 2023-06-22 15:35:29 +09:00
commit ae49061167
9 changed files with 62 additions and 60 deletions

View File

@ -5,6 +5,11 @@
<script language=javascript> <script language=javascript>
$(document).ready(function(){ $(document).ready(function(){
$('#download_btn').click(function(){
location.href="<c:out value='/sample_mjon/jsp_샘플_예제.zip' />";
});
}); });
</script> </script>
@ -36,56 +41,53 @@ $(document).ready(function(){
아래의 예제를 참고하시면 보다 쉽게 문자온 RESTful API의 구현이 가능합니다. 아래의 예제를 참고하시면 보다 쉽게 문자온 RESTful API의 구현이 가능합니다.
</br> </br>
<p class="tType1_title">Example</p> <p class="tType1_title">Example</p>
<!-- JSP --> <!-- JSP -->
<ul class="clause_list"> <ul class="clause_list">
<li class="list_open on"> <li class="list_open on">
<div class="clause_list_head"> <div class="clause_list_head">
<div class="list_head_in"> <div class="list_head_in">
<span>JSP Example</span> <span>JSP Example</span>
</div> </div>
</div> </div>
<div class="clause_list_body"> <div class="clause_list_body">
<table class="refund_info"> <table class="refund_info">
<colgroup> <colgroup>
<col style="width: 25%"> <col style="width: 25%">
<col style="width: auto;"> <col style="width: auto;">
</colgroup> </colgroup>
<tbody> <tbody>
<tr> <tr>
<td>jsp_example_send_msg.jsp</td> <td>jsp_example_send_msg_r1.jsp</td>
<td>문자보내기(여러명에게 동일한문자)</td> <td>문자보내기(여러명에게 동일한문자)</td>
</tr> </tr>
<tr> <tr>
<td>jsp_example_send_msgs.jsp</td> <td>jsp_example_send_msgs_r1.jsp</td>
<td>문자보내기(여러명에게 다른문자)</td> <td>문자보내기(여러명에게 다른문자)</td>
</tr> </tr>
<tr> <tr>
<td>jsp_example_list.jsp</td> <td>jsp_example_hstry_r1.jsp</td>
<td>전송내역조회</td> <td>전송내역조회</td>
</tr> </tr>
<tr> <tr>
<td>jsp_example_detail_list.jsp</td> <td>jsp_example_hstry_detail_r1.jsp</td>
<td>상세전송내역조회</td> <td>상세전송내역조회</td>
</tr> </tr>
<tr> <tr>
<td>jsp_example_remain.jsp</td> <td>jsp_example_select_price_r1.jsp</td>
<td>발송가능건수</td> <td>발송가능건수</td>
</tr> </tr>
</tbody>
</table>
</div>
</tbody> </li>
</table> </ul>
</div>
</li>
</ul>
<span class="reqTxt4"> <span class="reqTxt4">
<div class="mem_btnWrap2"> <div class="mem_btnWrap2">
<button type="button" style="width:50%;" class="mem_btn3" style="width: 100%;" id="sendMSG" onclick="return false;">JSP용 예제 다운받기</button> <button type="button" class="mem_btn3" id="download_btn" style="width: 100%;" id="sendMSG" onclick="return false;">JSP용 예제 다운받기</button>
</div> </div>
</span> </span>
</span> </span>

View File

@ -24,8 +24,8 @@
//회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용해주세요 //회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용해주세요
//실제서비스용 //실제서비스용
// final String mberId = "goodgkdus"; //문자온 로그인 아이디 // final String mberId = ""; //문자온 로그인 아이디
// final String apiKey = "12e749877379aa7426275414050694b953"; //발급받은 api key // final String apiKey = ""; //발급받은 api key
//테스트용 //테스트용
String mberId = request.getParameter("p_mberId"); //문자온 로그인 아이디 String mberId = request.getParameter("p_mberId"); //문자온 로그인 아이디
@ -33,8 +33,8 @@
/******************** 전송요청 URL ********************/ /******************** 전송요청 URL ********************/
//final String apiUrl = "https://api.munjaon.co.kr/api/inqry/hstryDetail"; final String apiUrl = "https://api.munjaon.co.kr/api/inqry/hstryDetail";
final String apiUrl = "http://localhost:8088/api/inqry/hstryDetail"; // final String apiUrl = "http://localhost:8088/api/inqry/hstryDetail";
// String apiUrl = "https://apidev.munjaon.co.kr:9998/api/inqry/hstryDetail"; // String apiUrl = "https://apidev.munjaon.co.kr:9998/api/inqry/hstryDetail";
/**************** 발송가능건수 예제 ******************/ /**************** 발송가능건수 예제 ******************/

View File

@ -33,10 +33,9 @@
/******************** 전송요청 URL ********************/ /******************** 전송요청 URL ********************/
//final String apiUrl = "https://api.munjaon.co.kr/api/inqry/hstry"; final String apiUrl = "https://api.munjaon.co.kr/api/inqry/hstry";
// final String apiUrl = "http://localhost:8088/api/inqry/hstry"; // final String apiUrl = "http://localhost:8088/api/inqry/hstry";
String apiUrl = "https://apidev.munjaon.co.kr:9998/api/inqry/hstry"; // 전송요청 URL
/**************** 발송가능건수 예제 ******************/ /**************** 발송가능건수 예제 ******************/
System.out.println("전체발송이력"); System.out.println("전체발송이력");

View File

@ -34,6 +34,7 @@
data : searchWebParam, data : searchWebParam,
success: function (returnData, status) { success: function (returnData, status) {
console.log('returnData : ', returnData)
//alert(returnData.shortPrice); //alert(returnData.shortPrice);
//alert(returnData.resultCode); //alert(returnData.resultCode);
//alert(returnData.message); //alert(returnData.message);

View File

@ -33,8 +33,8 @@
/******************** 전송요청 URL ********************/ /******************** 전송요청 URL ********************/
final String apiUrl = "https://apidev.munjaon.co.kr:9998/api/inqry/selectPrice"; final String apiUrl = "https://api.munjaon.co.kr/api/inqry/price";
// final String apiUrl = "http://localhost:8088/api/inqry/selectPrice"; // final String apiUrl = "http://localhost:8088/api/inqry/price";
/**************** 발송가능건수 예제 ******************/ /**************** 발송가능건수 예제 ******************/
System.out.println("잔액|단가|발송가능건수"); System.out.println("잔액|단가|발송가능건수");

View File

@ -24,7 +24,7 @@
/******************** 전송 요청 URL ********************/ /******************** 전송 요청 URL ********************/
//final String apiUrl = "http://localhost:8088/api/send/sendMsg"; //final String apiUrl = "http://localhost:8088/api/send/sendMsg";
final String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsg"; //개발테스트용 URL final String apiUrl = "https://api.munjaon.co.kr/api/send/sendMsg"; //개발테스트용 URL
//final String apiUrl = "https://api.munjaon.co.kr:9998/api/send/sendMsg"; //실제 서비스 URL //final String apiUrl = "https://api.munjaon.co.kr:9998/api/send/sendMsg"; //실제 서비스 URL
//회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용 //회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용

View File

@ -25,7 +25,7 @@
/******************** 전송 요청 URL ********************/ /******************** 전송 요청 URL ********************/
//String apiUrl = "http://localhost:8088/api/send/sendMsgs"; //String apiUrl = "http://localhost:8088/api/send/sendMsgs";
//final String apiUrl = "https://api.munjaon.co.kr:9998/api/send/sendMsg"; //실제 서비스 URL //final String apiUrl = "https://api.munjaon.co.kr:9998/api/send/sendMsg"; //실제 서비스 URL
String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsgs"; //개발테스트용 URL String apiUrl = "https://api.munjaon.co.kr/api/send/sendMsgs"; //개발테스트용 URL
//회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용 //회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용
//실제서비스용 //실제서비스용

Binary file not shown.

View File

@ -187,7 +187,7 @@
case "MYDATA": case "MYDATA":
System.out.println("잔액|단가|발송가능건수"); System.out.println("잔액|단가|발송가능건수");
sms_url = "http://localhost:8088/api/accessKey/myData"; // 전송요청 URL sms_url = "http://localhost:8088/api/accessKey/myData"; // 전송요청 URL
sms_url = "http://localhost:8088/api/inqry/selectPrice"; // 전송요청 URL sms_url = "http://localhost:8088/api/inqry/price"; // 전송요청 URL
break; break;
default: default: