feat : [API]발송가능건수 URI selectPrice -> price 로 수정 /// 예제 다운로드 완료

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

View File

@ -5,6 +5,11 @@
<script language=javascript>
$(document).ready(function(){
$('#download_btn').click(function(){
location.href="<c:out value='/sample_mjon/jsp_샘플_예제.zip' />";
});
});
</script>
@ -53,28 +58,25 @@ $(document).ready(function(){
</colgroup>
<tbody>
<tr>
<td>jsp_example_send_msg.jsp</td>
<td>jsp_example_send_msg_r1.jsp</td>
<td>문자보내기(여러명에게 동일한문자)</td>
</tr>
<tr>
<td>jsp_example_send_msgs.jsp</td>
<td>jsp_example_send_msgs_r1.jsp</td>
<td>문자보내기(여러명에게 다른문자)</td>
</tr>
<tr>
<td>jsp_example_list.jsp</td>
<td>jsp_example_hstry_r1.jsp</td>
<td>전송내역조회</td>
</tr>
<tr>
<td>jsp_example_detail_list.jsp</td>
<td>jsp_example_hstry_detail_r1.jsp</td>
<td>상세전송내역조회</td>
</tr>
<tr>
<td>jsp_example_remain.jsp</td>
<td>jsp_example_select_price_r1.jsp</td>
<td>발송가능건수</td>
</tr>
</tbody>
</table>
</div>
@ -83,7 +85,7 @@ $(document).ready(function(){
<span class="reqTxt4">
<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>
</span>

View File

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

View File

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

View File

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

View File

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

View File

@ -24,7 +24,7 @@
/******************** 전송 요청 URL ********************/
//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
//회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용

View File

@ -25,7 +25,7 @@
/******************** 전송 요청 URL ********************/
//String apiUrl = "http://localhost:8088/api/send/sendMsgs";
//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 값을 적어서 사용
//실제서비스용

Binary file not shown.

View File

@ -187,7 +187,7 @@
case "MYDATA":
System.out.println("잔액|단가|발송가능건수");
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;
default: