feat:PHP 예제 코드 추가
This commit is contained in:
parent
b5526bc6c9
commit
cfa1fd99f0
@ -2115,7 +2115,7 @@ public class TestController {
|
||||
//Slack으로 메세지 전송 처리
|
||||
MjonCommon comm = new MjonCommon();
|
||||
System.out.println("slack noti");
|
||||
// comm.getAdminSandSlack(mjonMsgVO);
|
||||
comm.getAdminSandSlack(mjonMsgVO);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -4,9 +4,14 @@
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<script language=javascript>
|
||||
$(document).ready(function(){
|
||||
|
||||
$('#download_btn').click(function(){
|
||||
location.href="<c:out value='/sample_mjon/jsp_샘플_예제.zip' />";
|
||||
|
||||
// 예제 다운로드 function
|
||||
$('.download_btn').click(function(){
|
||||
// click tag에 data-info="" 값 가져옴
|
||||
var type = $(this).data('info');
|
||||
var downUrl = "<c:out value='/sample_mjon/type_샘플_예제.zip' />";
|
||||
downUrl = downUrl.replace('type', type);
|
||||
location.href = downUrl;
|
||||
});
|
||||
|
||||
|
||||
@ -29,18 +34,18 @@ $(document).ready(function(){
|
||||
<!--예제 다운로드 내용-->
|
||||
<div class="api_download">
|
||||
<ul class="info">
|
||||
<li>- 아래 예제(JSP)를 참고하시어 쉽고 편리하게 API를 연동할 수 있습니다.</li>
|
||||
<li>- JSP 외 타 예제는 계속해서 업데이트 될 예정입니다.</li>
|
||||
<li>- 아래 예제(JSP, PHP)를 참고하시어 쉽고 편리하게 API를 연동할 수 있습니다.</li>
|
||||
<li>- JSP, PHP 외 타 예제는 계속해서 업데이트 될 예정입니다.</li>
|
||||
</ul>
|
||||
|
||||
<div class="list_tab_wrap2 type2">
|
||||
<!-- tab button -->
|
||||
<ul class="list_tab">
|
||||
<li class="tab active"><button type="button" onclick="listTab3(this,'1');">JSP</button>
|
||||
</li><!--
|
||||
<li class="tab"><button type="button" onclick="listTab3(this,'2');">ASP</button>
|
||||
</li>
|
||||
<li class="tab"><button type="button" onclick="listTab3(this,'3');">PHP</button>
|
||||
<li class="tab"><button type="button" onclick="listTab3(this,'2');">PHP</button>
|
||||
</li><!--
|
||||
<li class="tab"><button type="button" onclick="listTab3(this,'3');">ASP</button>
|
||||
</li>
|
||||
<li class="tab"><button type="button" onclick="listTab3(this,'4');">.NET</button>
|
||||
</li>
|
||||
@ -87,12 +92,51 @@ $(document).ready(function(){
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn_area">
|
||||
<button type="button" class="btnType btnType11" id="download_btn" onclick="return false;">JSP용 예제 다운받기</button>
|
||||
<button type="button" class="btnType btnType11 download_btn" data-info="jsp" onclick="return false;">JSP용 예제 다운받기</button>
|
||||
</div>
|
||||
</div>
|
||||
<!--// JSP 다운로드-->
|
||||
<!--ASP 다운로드-->
|
||||
<!--PHP 다운로드-->
|
||||
<div class="download_cont" id="listTab3_2">
|
||||
<div class="box">
|
||||
<div class="text">
|
||||
<h4>PHP Example</h4>
|
||||
<table>
|
||||
<caption>PHP 샘플 파일 설명 테이블</caption>
|
||||
<colgroup>
|
||||
<col style="width:35%;">
|
||||
<col style="width:65%;">
|
||||
</colgroup>
|
||||
<tr>
|
||||
<th>php_example_send_msg_r1.php</th>
|
||||
<td>문자보내기(여러명에게 동일한문자)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>php_example_send_msgs_r1.php</th>
|
||||
<td>문자보내기(여러명에게 다른문자)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>php_example_hstry_r1.php</th>
|
||||
<td>전송내역조회</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>php_example_hstry_detail_r1.php</th>
|
||||
<td>상세전송내역조회</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>php_example_select_price_r1.php</th>
|
||||
<td>발송가능건수</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn_area">
|
||||
<button type="button" class="btnType btnType11 download_btn" data-info="php" onclick="return false;">PHP용 예제 다운받기</button>
|
||||
</div>
|
||||
</div>
|
||||
<!--// PHP 다운로드-->
|
||||
<!--ASP 다운로드-->
|
||||
<div class="download_cont" id="listTab3_3">
|
||||
<div class="box">
|
||||
<div class="text">
|
||||
<h4>ASP Example</h4>
|
||||
@ -130,45 +174,6 @@ $(document).ready(function(){
|
||||
</div>
|
||||
</div>
|
||||
<!--// ASP 다운로드-->
|
||||
<!--PHP 다운로드-->
|
||||
<div class="download_cont" id="listTab3_3">
|
||||
<div class="box">
|
||||
<div class="text">
|
||||
<h4>PHP Example</h4>
|
||||
<table>
|
||||
<caption>PHP 샘플 파일 설명 테이블</caption>
|
||||
<colgroup>
|
||||
<col style="width:35%;">
|
||||
<col style="width:65%;">
|
||||
</colgroup>
|
||||
<tr>
|
||||
<th>파일명</th>
|
||||
<td>파일 설명</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>파일명</th>
|
||||
<td>파일 설명</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>파일명</th>
|
||||
<td>파일 설명</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>파일명</th>
|
||||
<td>파일 설명</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>파일명</th>
|
||||
<td>파일 설명</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn_area">
|
||||
<button type="button" class="btnType btnType11">PHP용 예제 다운받기</button>
|
||||
</div>
|
||||
</div>
|
||||
<!--// PHP 다운로드-->
|
||||
<!--.NET 다운로드-->
|
||||
<div class="download_cont" id="listTab3_4">
|
||||
<div class="box">
|
||||
|
||||
Binary file not shown.
BIN
src/main/webapp/sample_mjon/php_샘플_예제.zip
Normal file
BIN
src/main/webapp/sample_mjon/php_샘플_예제.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user