From 4b91ccdf4eba84e0f2d52f501ce1b3c357efa51e Mon Sep 17 00:00:00 2001 From: hylee Date: Tue, 13 Jun 2023 14:42:45 +0900 Subject: [PATCH] =?UTF-8?q?feat:API=20=EC=84=A4=EB=AA=85=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EC=A7=84=ED=96=89=EC=A4=91=20(+=EB=B6=84?= =?UTF-8?q?=EA=B8=B0=EC=B2=98=EB=A6=AC=20=EC=99=84=EB=A3=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/decorators.xml | 4 + .../webapp/WEB-INF/jsp/web/pay/PayGuide.jsp | 2 +- .../jsp/web/user/sendRESTAPI_infoPage3_r1.jsp | 78 +++------ .../user/sendRESTAPI_infoPage3_r1_tab1.jsp | 154 ++++++++++++++++++ .../user/sendRESTAPI_infoPage3_r1_tab2.jsp | 154 ++++++++++++++++++ .../user/sendRESTAPI_infoPage3_r1_tab3.jsp | 154 ++++++++++++++++++ .../user/sendRESTAPI_infoPage3_r1_tab4.jsp | 154 ++++++++++++++++++ .../user/sendRESTAPI_infoPage3_r1_tab5.jsp | 154 ++++++++++++++++++ .../jsp_example_send_msg_form_r1.jsp | 1 - .../sample_mjon/jsp_example_send_msg_r1.jsp | 6 +- 10 files changed, 800 insertions(+), 61 deletions(-) create mode 100644 src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab1.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab2.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab3.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab4.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab5.jsp diff --git a/src/main/webapp/WEB-INF/decorators.xml b/src/main/webapp/WEB-INF/decorators.xml index cd6a5ec0..4e221f9d 100644 --- a/src/main/webapp/WEB-INF/decorators.xml +++ b/src/main/webapp/WEB-INF/decorators.xml @@ -31,6 +31,10 @@ /sample_mjon/jsp_example_hstry_detail_form_r1.jsp /sample_mjon/jsp_example_select_price_form_r1.jsp /sample_mjon/jsp_example_start_form_r1.jsp + /sample_mjon/jsp_example_select_price_form_r1.jsp + + + */error/* diff --git a/src/main/webapp/WEB-INF/jsp/web/pay/PayGuide.jsp b/src/main/webapp/WEB-INF/jsp/web/pay/PayGuide.jsp index de9cc83a..c50f9837 100644 --- a/src/main/webapp/WEB-INF/jsp/web/pay/PayGuide.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/pay/PayGuide.jsp @@ -448,7 +448,7 @@ function fn_gunClear(){ 팩스 - 전송 가능 파일(hwp, pdf, ppt, xls, xlsx, doc, jpg, jpeg, bmp, txt, gif, hwpml, tif, htm, html, gul) + 전송 가능 파일(hwp, pdf, ppt, xls, xlsx, doc, jpg, jpeg, bmp, txt, gif, hwpml, tif, gul) 1매 : ${faxPrice}원 diff --git a/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1.jsp b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1.jsp index b2426355..e0ab3fcc 100644 --- a/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1.jsp @@ -8,6 +8,17 @@ $(document).ready(function(){ }); +
@@ -35,77 +46,32 @@ $(document).ready(function(){
  • + + +
    -

    문자보내기

    - - 동일한 내용의 문자를 컴마(,)로 분기하여 동시 1천명에게 전송하실 수 있습니다. -
    - 발신번호는 사이트내에서 미리 등록된 번호만 사용하실 수 있습니다. -
    - msg_type을 지정하지 않으시면 90byte를 초과하는 메시지 발송 시 LMS(첨부파일 없는 MMS) 형태로 자동 전환됩니다. -
    - (단, 시스템별 개행문자등의 Byte가 다를 수 있으므로 전송전 90Byte 체크를 하여 msg_type을 지정하시는것을 권장합니다.) -
    -
    -
    - - - - HTTPS 프로토콜을 사용하여 POST로 요청합니다. 예약설정을 통해 예약문자로 등록이 가능하며, 파일첨부를 통해 MMS 전송이 가능합니다. - +
    + +
    - -
    + +
    - 3 +
    - 4 +
    - 5 +
    diff --git a/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab1.jsp b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab1.jsp new file mode 100644 index 00000000..0acf8c87 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab1.jsp @@ -0,0 +1,154 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + + + +

    문자보내기

    + + 동일한 내용의 문자를 컴마(,)로 분기하여 동시 1천명에게 전송하실 수 있습니다. +
    + 발신번호는 사이트내에서 미리 등록된 번호만 사용하실 수 있습니다. +
    + 90byte를 초과하는 메시지 발송 시 LMS(첨부파일 없는 MMS) 형태로 자동 전환됩니다. +
    +
    +
    + + + + + HTTPS 프로토콜을 사용하여 POST로 요청합니다. + + +

    + 문자이미지 문자 +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    설명타입필수
    mberId사용자 IDStringO
    accessKey인증용 API KeyStringO
    callFrom발신자 번호 (아이디에 등록되어 있는 번호)StringO
    callToList수신자 번호 (콤마(,) 기준으로 입력)StringO
    smsTxt메세지 내용String (1~2,000Byte)O
    nameStr메세지 내용에 [*이름*]이 있으면 치환용 이름 입력StringX
    test_yn테스트 데이터 여부StringX
    + * 텍스트 용량(Byte)에 대한 안내 : 2Byte, 영문·숫자 1Byte를 차지. + + + diff --git a/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab2.jsp b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab2.jsp new file mode 100644 index 00000000..38455d98 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab2.jsp @@ -0,0 +1,154 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + + + +

    문자보내기(대량)

    + + 동일한 내용의 문자를 컴마(,)로 분기하여 동시 1천명에게 전송하실 수 있습니다. +
    + 발신번호는 사이트내에서 미리 등록된 번호만 사용하실 수 있습니다. +
    + 90byte를 초과하는 메시지 발송 시 LMS(첨부파일 없는 MMS) 형태로 자동 전환됩니다. +
    +
    +
    + + + + + HTTPS 프로토콜을 사용하여 POST로 요청합니다. + + +

    + 문자이미지 문자 +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    설명타입필수
    mberId사용자 IDStringO
    accessKey인증용 API KeyStringO
    callFrom발신자 번호 (아이디에 등록되어 있는 번호)StringO
    callToList수신자 번호 (콤마(,) 기준으로 입력)StringO
    smsTxt메세지 내용String (1~2,000Byte)O
    nameStr메세지 내용에 [*이름*]이 있으면 치환용 이름 입력StringX
    test_yn테스트 데이터 여부StringX
    + * 텍스트 용량(Byte)에 대한 안내 : 2Byte, 영문·숫자 1Byte를 차지. + + + diff --git a/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab3.jsp b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab3.jsp new file mode 100644 index 00000000..c7ad4c77 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab3.jsp @@ -0,0 +1,154 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + + + +

    전송내역조회

    + + 동일한 내용의 문자를 컴마(,)로 분기하여 동시 1천명에게 전송하실 수 있습니다. +
    + 발신번호는 사이트내에서 미리 등록된 번호만 사용하실 수 있습니다. +
    + 90byte를 초과하는 메시지 발송 시 LMS(첨부파일 없는 MMS) 형태로 자동 전환됩니다. +
    +
    +
    + + + + + HTTPS 프로토콜을 사용하여 POST로 요청합니다. + + +

    + 문자이미지 문자 +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    설명타입필수
    mberId사용자 IDStringO
    accessKey인증용 API KeyStringO
    callFrom발신자 번호 (아이디에 등록되어 있는 번호)StringO
    callToList수신자 번호 (콤마(,) 기준으로 입력)StringO
    smsTxt메세지 내용String (1~2,000Byte)O
    nameStr메세지 내용에 [*이름*]이 있으면 치환용 이름 입력StringX
    test_yn테스트 데이터 여부StringX
    + * 텍스트 용량(Byte)에 대한 안내 : 2Byte, 영문·숫자 1Byte를 차지. + + + diff --git a/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab4.jsp b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab4.jsp new file mode 100644 index 00000000..8af345f0 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab4.jsp @@ -0,0 +1,154 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + + + +

    전송결과조회(상세)

    + + 동일한 내용의 문자를 컴마(,)로 분기하여 동시 1천명에게 전송하실 수 있습니다. +
    + 발신번호는 사이트내에서 미리 등록된 번호만 사용하실 수 있습니다. +
    + 90byte를 초과하는 메시지 발송 시 LMS(첨부파일 없는 MMS) 형태로 자동 전환됩니다. +
    +
    +
    + + + + + HTTPS 프로토콜을 사용하여 POST로 요청합니다. + + +

    + 문자이미지 문자 +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    설명타입필수
    mberId사용자 IDStringO
    accessKey인증용 API KeyStringO
    callFrom발신자 번호 (아이디에 등록되어 있는 번호)StringO
    callToList수신자 번호 (콤마(,) 기준으로 입력)StringO
    smsTxt메세지 내용String (1~2,000Byte)O
    nameStr메세지 내용에 [*이름*]이 있으면 치환용 이름 입력StringX
    test_yn테스트 데이터 여부StringX
    + * 텍스트 용량(Byte)에 대한 안내 : 2Byte, 영문·숫자 1Byte를 차지. + + + diff --git a/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab5.jsp b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab5.jsp new file mode 100644 index 00000000..f7199107 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/web/user/sendRESTAPI_infoPage3_r1_tab5.jsp @@ -0,0 +1,154 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + + + +

    발송가능건수

    + + 동일한 내용의 문자를 컴마(,)로 분기하여 동시 1천명에게 전송하실 수 있습니다. +
    + 발신번호는 사이트내에서 미리 등록된 번호만 사용하실 수 있습니다. +
    + 90byte를 초과하는 메시지 발송 시 LMS(첨부파일 없는 MMS) 형태로 자동 전환됩니다. +
    +
    +
    + + + + + HTTPS 프로토콜을 사용하여 POST로 요청합니다. + + +

    + 문자이미지 문자 +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    설명타입필수
    mberId사용자 IDStringO
    accessKey인증용 API KeyStringO
    callFrom발신자 번호 (아이디에 등록되어 있는 번호)StringO
    callToList수신자 번호 (콤마(,) 기준으로 입력)StringO
    smsTxt메세지 내용String (1~2,000Byte)O
    nameStr메세지 내용에 [*이름*]이 있으면 치환용 이름 입력StringX
    test_yn테스트 데이터 여부StringX
    + * 텍스트 용량(Byte)에 대한 안내 : 2Byte, 영문·숫자 1Byte를 차지. + + + diff --git a/src/main/webapp/sample_mjon/jsp_example_send_msg_form_r1.jsp b/src/main/webapp/sample_mjon/jsp_example_send_msg_form_r1.jsp index 97aaaceb..57702e8d 100644 --- a/src/main/webapp/sample_mjon/jsp_example_send_msg_form_r1.jsp +++ b/src/main/webapp/sample_mjon/jsp_example_send_msg_form_r1.jsp @@ -19,7 +19,6 @@ var searchWebParam = { 'p_mberId' : $('#mberId').val() , 'p_apiKey' : $('#apiKey').val() - , 'p_callFrom' : $('#callFrom').val() , 'p_callToList' : $('#callToList').val() , 'p_smsTxt' : $('#smsTxt').val() 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 ca1bce3c..e83ab6d7 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 @@ -45,8 +45,6 @@ Map params = new HashMap(); - params.put("mberId", mberId); // SMS 아이디 - params.put("accessKey", apiKey); //인증키 /******************** 인증정보 ********************/ @@ -85,7 +83,9 @@ //String p_divideTime = request.getParameter("p_divideTime"); //분할문자 간격 //String p_reqDate = request.getParameter("p_reqDate"); //예약시간 - + // 필수 데이터 + params.put("mberId", mberId); // SMS 아이디 + params.put("accessKey", apiKey); //인증키 //추가 전송 데이터 params.put("callFrom" , p_callFrom); //발신번호 params.put("callToList" , p_callToList); //수신번호