itsm_ysm/src/main/webapp/WEB-INF/jsp/nlib/sample/getMemberInfoFromQRCode.jsp

103 lines
3.5 KiB
Plaintext

<%
/**
* <pre>
* @Class Name : getSampleInfo.jsp
*
* @Description : RESTful API 호출 샘플
*
*
* @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
*
* </pre>
*
* @ ------------ -------- ---------------------------
* @ 수정일 수정자 수정내용
* @ ------------ -------- ---------------------------
* @ 2021. 6. 15. KNKIM 최초 생성
*
*
* @author 이씨플라자 * DIGITALSHIP KNKIM
* @since 2021. 6. 15.
* @version 1.0
*
*/
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<c:set var="pageTitle">QRCode 회원정보</c:set>
<!DOCTYPE html>
<html>
<head>
<title>${pageTitle}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- <link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />"> -->
<script type="text/javaScript" language="javascript">
</script>
</head>
<body>
<!-- javascript warning tag -->
<noscript class="noScriptTitle"><spring:message code="common.noScriptTitle.msg" /></noscript>
<form:form commandName="reqInfo"
action="${pageContext.request.contextPath}/sample/barcode/getMemberQRCode.do" method="post"
target="_blank"
onSubmit="fncAuthorInsert(document.forms[0]); return false;">
<div class="wTableFrm">
<!-- 타이틀 -->
<h2>${pageTitle} - QR코드 생성 </h2>
uniqId : <input name="uniqId" id="uniqId" value="${loginVO.uniqId}" /> <br />
email : <input name="email" id="email" value="${loginVO.email}" /> <br />
name : <input name="name" id="name" value="${loginVO.name}" /> <br />
<div style="clear:both;">&nbsp;</div>
<!-- 하단 버튼 -->
<div class="btn">
<input type="submit" class="s_submit" value="바코드생성" /> <!-- 조회 -->
</div>
<div style="clear:both;"></div>
<br />
<div style="clear:both;"></div>
</div>
</form:form>
<hr>
<div style="clear:both;"></div>
<form:form commandName="reqInfo"
action="${pageContext.request.contextPath}/sample/barcode/getMemberInfoFromQRCode.do" method="post"
onSubmit="fncAuthorInsert(document.forms[0]); return false;">
<div class="wTableFrm">
<!-- 타이틀 -->
<h2>${pageTitle} - QR코드로부터 사용자정보추출</h2>
QR코드 생성 로그의 DEBUG [iams.nlib.user.service.QRCodeService] generateMemberQRCodeImage : cryptedBarcodeText 의 값을 넣는다.
<div style="clear:both;">&nbsp;</div>
barcodeText : <input name="barcodeText" id="barcodeText" value="VVNFUjAwMDEtMDAwMDAxO215aWRAZGlnaXRhbHNoaXAuY28ua3I77ZmN6ri464+ZOw==" /> <br />
<div style="clear:both;">&nbsp;</div>
<!-- 하단 버튼 -->
<div class="btn">
<input type="submit" class="s_submit" value="<spring:message code="button.inquire" />" title="<spring:message code="button.inquire" /> <spring:message code="button.inquire" />" /><!-- 조회 -->
</div>
<div style="clear:both;"></div>
</div>
</form:form>
</body>
</html>