Merge branch 'hylee'

This commit is contained in:
hylee 2023-06-15 15:30:45 +09:00
commit 0dbcbcc9f4
8 changed files with 29 additions and 21 deletions

View File

@ -195,9 +195,9 @@
<td>Object</td>
</tr>
<tr>
<th>[data].msgGroupId</th>
<td>메세지 그룹 ID</td>
<td>String</td>
<th>[data].msgGroupIdList</th>
<td>메세지 그룹 ID 리스트</td>
<td>List String</td>
</tr>
<tr>
<th>[data].msgType</th>
@ -242,8 +242,12 @@
<p>"resultCode":"0"</p>
<p>, "data":[</p>
<div>
<p>"msgGroupId":"MSGGID_0000000000000"</p>
<p>, "msgType":"4"</p>
<p>"msgGroupIdList":[</p>
<p>&nbsp;&nbsp;&nbsp; 0:"MSGGID_0000000000000"</p>
<p>&nbsp;&nbsp;&nbsp; 1:"MSGGID_0000000000001"</p>
<p>&nbsp;&nbsp;&nbsp; 2:"MSGGID_0000000000002"</p>
<p>]</p>
<p>, "msgType":"LMS"</p>
<p>, "blockCnt":"0"</p>
<p>, "failCnt":"0"</p>
<p>, "successCnt":"3"</p>

View File

@ -134,7 +134,7 @@
</div>
<div class="input_list_item">
<div class="input_left">*api key
<input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="12e749877379aa7426275414050694b953" size="100"/>
<input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="24cb8ec4ed7c16969d2ab2988dd2406ee2820" size="100"/>
</div>
</div>

View File

@ -24,19 +24,19 @@
//회원아이디, APIKEY - 보안을 위해 실제 서비스 시에는 이곳에 mberId와 apiKey 값을 적어서 사용해주세요
//실제서비스용
final String mberId = "goodgkdus"; //문자온 로그인 아이디
final String apiKey = "12e749877379aa7426275414050694b953"; //발급받은 api key
// final String mberId = "goodgkdus"; //문자온 로그인 아이디
// final String apiKey = "12e749877379aa7426275414050694b953"; //발급받은 api key
//테스트용
//String mberId = request.getParameter("p_mberId"); //문자온 로그인 아이디
//String apiKey = request.getParameter("p_apiKey"); //발급받은 api key
String mberId = request.getParameter("p_mberId"); //문자온 로그인 아이디
String apiKey = request.getParameter("p_apiKey"); //발급받은 api key
/******************** 전송요청 URL ********************/
//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";
/**************** 발송가능건수 예제 ******************/
System.out.println("상세발송이력");

View File

@ -89,7 +89,7 @@
</div>
<div class="input_list_item">
<div class="input_left">*api key
<input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="12e749877379aa7426275414050694b953" size="100"/>
<input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="24cb8ec4ed7c16969d2ab2988dd2406ee2820" size="100"/>
</div>
</div>

View File

@ -152,7 +152,7 @@
</div>
<div class="input_list_item">
<div class="input_left">*api key
<input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="12e749877379aa7426275414050694b953" size="100"/>
<input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="24cb8ec4ed7c16969d2ab2988dd2406ee2820" size="100"/>
</div>
</div>

View File

@ -42,8 +42,8 @@
//String sms_url = "https://api.munjaon.co.kr:9998/api/accessTest/Test"; // 전송요청 URL
//String sms_url = "https://api.munjaon.co.kr:9998/api/accessKey/SendMsg"; // 전송요청 URL
// final String apiUrl = "http://localhost:8088/api/api/send/sendMsg";
final String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsg";
final String apiUrl = "http://localhost:8088/api/send/sendMsg";
// final String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsg";
Map<String, String> params = new HashMap<String, String>();
/******************** 인증정보 ********************/

View File

@ -47,12 +47,14 @@
success: function (returnData, status) {
console.log('returnData : ', returnData);
if (returnData.resultCode=="0"){
$("span#mgi").text(returnData.data.msgGroupId);
$("span#mgi").text(returnData.data.msgGroupIdList);
$("span#sc").text(returnData.data.successCnt);
$("span#fc").text(returnData.data.failCnt);
$("span#bc").text(returnData.data.blockCnt);
$("span#mt").text(returnData.data.msgType);
$("span#mt").text(returnData.data.msgTypeList);
} else{
alert(returnData.resultCode+" : "+returnData.data);
@ -130,7 +132,7 @@
</div>
<div class="input_list_item">
<div class="input_left">*api key
<input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="12e749877379aa7426275414050694b953" size="100"/>
<input type="text" class="list_inputType1" id="apiKey" maxlength="100" value="24cb8ec4ed7c16969d2ab2988dd2406ee2820" size="100"/>
</div>
</div>

View File

@ -41,9 +41,9 @@
//String sms_url = "https://apis.aligo.in/send/"; // 전송요청 URL
//String sms_url = "https://api.munjaon.co.kr:9998/api/accessTest/Test"; // 전송요청 URL
//String sms_url = "https://api.munjaon.co.kr:9998/api/accessKey/SendMsg"; // 전송요청 URL
// String apiUrl = "http://localhost:8088/api/send/sendMsgs"; // 전송요청 URL
String apiUrl = "http://localhost:8088/api/send/sendMsgs"; // 전송요청 URL
String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsgs"; // 전송요청 URL
// String apiUrl = "https://apidev.munjaon.co.kr:9998/api/send/sendMsgs"; // 전송요청 URL
Map<String, String> params = new HashMap<String, String>();
params.put("mberId", mberId); // SMS 아이디
@ -72,6 +72,7 @@
//String p_msgKind = request.getParameter("p_msgKind"); //N-일반,A-광고,C-선거
//String p_msgKind = "N"; //N-일반,A-광고,C-선거 - 초기 지원안함
String p_smsTxt_1 = request.getParameter("p_smsTxt_1"); //SMS용 메시지본문
String p_testYn = request.getParameter("p_testYn"); //테스트데이터여부 '', 'YF', 'YS'
//String p_nameStr_1 = request.getParameter("p_nameStr_1"); //치환문자
//선택값
@ -88,6 +89,7 @@
//추가 전송 데이터
params.put("callFrom" , p_callFrom); //발신번호
params.put("test_yn" , p_testYn); //테스트 여부
//params.put("callTo_1" , p_callTo_1); //수신번호
//params.put("eachPrice" , p_eachPrice); //전송문자 개별가격