diff --git a/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage4_r1.jsp b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage4_r1.jsp index d26205a7..e8b1c066 100644 --- a/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage4_r1.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage4_r1.jsp @@ -5,6 +5,11 @@ @@ -36,56 +41,53 @@ $(document).ready(function(){ 아래의 예제를 참고하시면 보다 쉽게 문자온 RESTful API의 구현이 가능합니다.
-

Example

- - +

Example

+ + - -
- -
-
+ +
+ +
+
diff --git a/src/main/webapp/sample_mjon/jsp_example_hstry_detail_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_hstry_detail_r1.jsp index b9df0fdb..22bbefe3 100644 --- a/src/main/webapp/sample_mjon/jsp_example_hstry_detail_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_hstry_detail_r1.jsp @@ -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"; /**************** 발송가능건수 예제 ******************/ diff --git a/src/main/webapp/sample_mjon/jsp_example_hstry_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_hstry_r1.jsp index e3ed4c7c..e1ec9fe5 100644 --- a/src/main/webapp/sample_mjon/jsp_example_hstry_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_hstry_r1.jsp @@ -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("전체발송이력"); diff --git a/src/main/webapp/sample_mjon/jsp_example_select_price_form_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_select_price_form_r1.jsp index 201d5082..a8d37cdf 100644 --- a/src/main/webapp/sample_mjon/jsp_example_select_price_form_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_select_price_form_r1.jsp @@ -34,6 +34,7 @@ data : searchWebParam, success: function (returnData, status) { + console.log('returnData : ', returnData) //alert(returnData.shortPrice); //alert(returnData.resultCode); //alert(returnData.message); diff --git a/src/main/webapp/sample_mjon/jsp_example_select_price_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_select_price_r1.jsp index ace39c3b..2382b93f 100644 --- a/src/main/webapp/sample_mjon/jsp_example_select_price_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_select_price_r1.jsp @@ -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("잔액|단가|발송가능건수"); 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 93960ad6..18fc6115 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 @@ -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 값을 적어서 사용 diff --git a/src/main/webapp/sample_mjon/jsp_example_send_msgs_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_send_msgs_r1.jsp index 992e73c3..9959b428 100644 --- a/src/main/webapp/sample_mjon/jsp_example_send_msgs_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_send_msgs_r1.jsp @@ -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 값을 적어서 사용 //실제서비스용 diff --git a/src/main/webapp/sample_mjon/jsp_샘플_예제.zip b/src/main/webapp/sample_mjon/jsp_샘플_예제.zip new file mode 100644 index 00000000..e73d1c1f Binary files /dev/null and b/src/main/webapp/sample_mjon/jsp_샘플_예제.zip differ diff --git a/src/main/webapp/sendRESTAPI_test_r1_send.jsp b/src/main/webapp/sendRESTAPI_test_r1_send.jsp index 59dcbafe..904c1c18 100644 --- a/src/main/webapp/sendRESTAPI_test_r1_send.jsp +++ b/src/main/webapp/sendRESTAPI_test_r1_send.jsp @@ -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: