--- src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab2.jsp
+++ src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab2.jsp
... | ... | @@ -195,9 +195,9 @@ |
| 195 | 195 |
<td>Object</td> |
| 196 | 196 |
</tr> |
| 197 | 197 |
<tr> |
| 198 |
- <th>[data].msgGroupId</th> |
|
| 199 |
- <td>메세지 그룹 ID</td> |
|
| 200 |
- <td>String</td> |
|
| 198 |
+ <th>[data].msgGroupIdList</th> |
|
| 199 |
+ <td>메세지 그룹 ID 리스트</td> |
|
| 200 |
+ <td>List String</td> |
|
| 201 | 201 |
</tr> |
| 202 | 202 |
<tr> |
| 203 | 203 |
<th>[data].msgType</th> |
... | ... | @@ -242,8 +242,12 @@ |
| 242 | 242 |
<p>"resultCode":"0"</p> |
| 243 | 243 |
<p>, "data":[</p> |
| 244 | 244 |
<div> |
| 245 |
- <p>"msgGroupId":"MSGGID_0000000000000"</p> |
|
| 246 |
- <p>, "msgType":"4"</p> |
|
| 245 |
+ <p>"msgGroupIdList":[</p> |
|
| 246 |
+ <p> 0:"MSGGID_0000000000000"</p> |
|
| 247 |
+ <p> 1:"MSGGID_0000000000001"</p> |
|
| 248 |
+ <p> 2:"MSGGID_0000000000002"</p> |
|
| 249 |
+ <p>]</p> |
|
| 250 |
+ <p>, "msgType":"LMS"</p> |
|
| 247 | 251 |
<p>, "blockCnt":"0"</p> |
| 248 | 252 |
<p>, "failCnt":"0"</p> |
| 249 | 253 |
<p>, "successCnt":"3"</p> |
--- src/main/webapp/sample_mjon/jsp_example_hstry_detail_form_r1.jsp
+++ src/main/webapp/sample_mjon/jsp_example_hstry_detail_form_r1.jsp
... | ... | @@ -134,7 +134,7 @@ |
| 134 | 134 |
</div> |
| 135 | 135 |
<div class="input_list_item"> |
| 136 | 136 |
<div class="input_left">*api key |
| 137 |
- <input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="12e749877379aa7426275414050694b953" size="100"/> |
|
| 137 |
+ <input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="24cb8ec4ed7c16969d2ab2988dd2406ee2820" size="100"/> |
|
| 138 | 138 |
</div> |
| 139 | 139 |
</div> |
| 140 | 140 |
|
--- src/main/webapp/sample_mjon/jsp_example_hstry_detail_r1.jsp
+++ src/main/webapp/sample_mjon/jsp_example_hstry_detail_r1.jsp
... | ... | @@ -24,19 +24,19 @@ |
| 24 | 24 |
|
| 25 | 25 |
//회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용해주세요 |
| 26 | 26 |
//실제서비스용 |
| 27 |
- final String mberId = "goodgkdus"; //문자온 로그인 아이디 |
|
| 28 |
- final String apiKey = "12e749877379aa7426275414050694b953"; //발급받은 api key |
|
| 27 |
+// final String mberId = "goodgkdus"; //문자온 로그인 아이디 |
|
| 28 |
+// final String apiKey = "12e749877379aa7426275414050694b953"; //발급받은 api key |
|
| 29 | 29 |
|
| 30 | 30 |
//테스트용 |
| 31 |
- //String mberId = request.getParameter("p_mberId"); //문자온 로그인 아이디
|
|
| 32 |
- //String apiKey = request.getParameter("p_apiKey"); //발급받은 api key
|
|
| 31 |
+ String mberId = request.getParameter("p_mberId"); //문자온 로그인 아이디
|
|
| 32 |
+ String apiKey = request.getParameter("p_apiKey"); //발급받은 api key
|
|
| 33 | 33 |
|
| 34 | 34 |
|
| 35 | 35 |
/******************** 전송요청 URL ********************/ |
| 36 | 36 |
//final String apiUrl = "https://api.munjaon.co.kr/api/inqry/hstryDetail"; |
| 37 |
-// final String apiUrl = "http://localhost:8088/api/inqry/hstryDetail"; |
|
| 37 |
+ final String apiUrl = "http://localhost:8088/api/inqry/hstryDetail"; |
|
| 38 | 38 |
|
| 39 |
- String apiUrl = "https://apidev.munjaon.co.kr:9998/api/inqry/hstryDetail"; |
|
| 39 |
+// String apiUrl = "https://apidev.munjaon.co.kr:9998/api/inqry/hstryDetail"; |
|
| 40 | 40 |
/**************** 발송가능건수 예제 ******************/ |
| 41 | 41 |
System.out.println("상세발송이력");
|
| 42 | 42 |
|
--- src/main/webapp/sample_mjon/jsp_example_select_price_form_r1.jsp
+++ src/main/webapp/sample_mjon/jsp_example_select_price_form_r1.jsp
... | ... | @@ -89,7 +89,7 @@ |
| 89 | 89 |
</div> |
| 90 | 90 |
<div class="input_list_item"> |
| 91 | 91 |
<div class="input_left">*api key |
| 92 |
- <input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="12e749877379aa7426275414050694b953" size="100"/> |
|
| 92 |
+ <input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="24cb8ec4ed7c16969d2ab2988dd2406ee2820" size="100"/> |
|
| 93 | 93 |
</div> |
| 94 | 94 |
</div> |
| 95 | 95 |
|
--- src/main/webapp/sample_mjon/jsp_example_send_msg_form_r1.jsp
+++ src/main/webapp/sample_mjon/jsp_example_send_msg_form_r1.jsp
... | ... | @@ -152,7 +152,7 @@ |
| 152 | 152 |
</div> |
| 153 | 153 |
<div class="input_list_item"> |
| 154 | 154 |
<div class="input_left">*api key |
| 155 |
- <input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="12e749877379aa7426275414050694b953" size="100"/> |
|
| 155 |
+ <input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="24cb8ec4ed7c16969d2ab2988dd2406ee2820" size="100"/> |
|
| 156 | 156 |
</div> |
| 157 | 157 |
</div> |
| 158 | 158 |
|
--- src/main/webapp/sample_mjon/jsp_example_send_msg_r1.jsp
+++ src/main/webapp/sample_mjon/jsp_example_send_msg_r1.jsp
... | ... | @@ -42,8 +42,8 @@ |
| 42 | 42 |
//String sms_url = "https://api.munjaon.co.kr:9998/api/accessTest/Test"; // 전송요청 URL |
| 43 | 43 |
//String sms_url = "https://api.munjaon.co.kr:9998/api/accessKey/SendMsg"; // 전송요청 URL |
| 44 | 44 |
|
| 45 |
-// final String apiUrl = "http://localhost:8088/api/api/send/sendMsg"; |
|
| 46 |
- final String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsg"; |
|
| 45 |
+ final String apiUrl = "http://localhost:8088/api/send/sendMsg"; |
|
| 46 |
+// final String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsg"; |
|
| 47 | 47 |
|
| 48 | 48 |
Map<String, String> params = new HashMap<String, String>(); |
| 49 | 49 |
/******************** 인증정보 ********************/ |
--- src/main/webapp/sample_mjon/jsp_example_send_msgs_form_r1.jsp
+++ src/main/webapp/sample_mjon/jsp_example_send_msgs_form_r1.jsp
... | ... | @@ -47,12 +47,14 @@ |
| 47 | 47 |
|
| 48 | 48 |
success: function (returnData, status) {
|
| 49 | 49 |
|
| 50 |
+ console.log('returnData : ', returnData);
|
|
| 51 |
+ |
|
| 50 | 52 |
if (returnData.resultCode=="0"){
|
| 51 |
- $("span#mgi").text(returnData.data.msgGroupId);
|
|
| 53 |
+ $("span#mgi").text(returnData.data.msgGroupIdList);
|
|
| 52 | 54 |
$("span#sc").text(returnData.data.successCnt);
|
| 53 | 55 |
$("span#fc").text(returnData.data.failCnt);
|
| 54 | 56 |
$("span#bc").text(returnData.data.blockCnt);
|
| 55 |
- $("span#mt").text(returnData.data.msgType);
|
|
| 57 |
+ $("span#mt").text(returnData.data.msgTypeList);
|
|
| 56 | 58 |
|
| 57 | 59 |
} else{
|
| 58 | 60 |
alert(returnData.resultCode+" : "+returnData.data); |
... | ... | @@ -130,7 +132,7 @@ |
| 130 | 132 |
</div> |
| 131 | 133 |
<div class="input_list_item"> |
| 132 | 134 |
<div class="input_left">*api key |
| 133 |
- <input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="12e749877379aa7426275414050694b953" size="100"/> |
|
| 135 |
+ <input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="24cb8ec4ed7c16969d2ab2988dd2406ee2820" size="100"/> |
|
| 134 | 136 |
</div> |
| 135 | 137 |
</div> |
| 136 | 138 |
|
--- src/main/webapp/sample_mjon/jsp_example_send_msgs_r1.jsp
+++ src/main/webapp/sample_mjon/jsp_example_send_msgs_r1.jsp
... | ... | @@ -41,9 +41,9 @@ |
| 41 | 41 |
//String sms_url = "https://apis.aligo.in/send/"; // ì ì¡ìì² URL |
| 42 | 42 |
//String sms_url = "https://api.munjaon.co.kr:9998/api/accessTest/Test"; // ì ì¡ìì² URL |
| 43 | 43 |
//String sms_url = "https://api.munjaon.co.kr:9998/api/accessKey/SendMsg"; // ì ì¡ìì² URL |
| 44 |
-// String apiUrl = "http://localhost:8088/api/send/sendMsgs"; // ì ì¡ìì² URL |
|
| 44 |
+ String apiUrl = "http://localhost:8088/api/send/sendMsgs"; // ì ì¡ìì² URL |
|
| 45 | 45 |
|
| 46 |
- String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsgs"; // 전송요청 URL |
|
| 46 |
+// String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsgs"; // 전송요청 URL |
|
| 47 | 47 |
|
| 48 | 48 |
Map<String, String> params = new HashMap<String, String>(); |
| 49 | 49 |
params.put("mberId", mberId); // SMS ìì´ë
|
... | ... | @@ -72,6 +72,7 @@ |
| 72 | 72 |
//String p_msgKind = request.getParameter("p_msgKind"); //N-ì¼ë°,A-ê´ê³ ,C-ì ê±°
|
| 73 | 73 |
//String p_msgKind = "N"; //N-ì¼ë°,A-ê´ê³ ,C-ì ê±° - ì´ê¸° ì§ììí¨ |
| 74 | 74 |
String p_smsTxt_1 = request.getParameter("p_smsTxt_1"); //SMSì© ë©ìì§ë³¸ë¬¸
|
| 75 |
+ String p_testYn = request.getParameter("p_testYn"); //테스트데이터여부 '', 'YF', 'YS'
|
|
| 75 | 76 |
//String p_nameStr_1 = request.getParameter("p_nameStr_1"); //ì¹í문ì
|
| 76 | 77 |
|
| 77 | 78 |
//ì íê° |
... | ... | @@ -88,6 +89,7 @@ |
| 88 | 89 |
|
| 89 | 90 |
//ì¶ê° ì ì¡ ë°ì´í° |
| 90 | 91 |
params.put("callFrom" , p_callFrom); //ë°ì ë²í¸
|
| 92 |
+ params.put("test_yn" , p_testYn); //테스트 여부
|
|
| 91 | 93 |
|
| 92 | 94 |
//params.put("callTo_1" , p_callTo_1); //ìì ë²í¸
|
| 93 | 95 |
//params.put("eachPrice" , p_eachPrice); //ì ì¡ë¬¸ì ê°ë³ê°ê²©
|
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?