身份证上传示例

身份证上传示例_第1张图片

<%@page import="com.coactsoft.cfp.entity.CustomerStatus"%>
<%@page import="com.coactsoft.cfp.Constant"%>
<%@page import="com.coactsoft.cfp.utils.UserUtils"%>
<%@page import="com.coactsoft.cfp.entity.Customer"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String customerId = UserUtils.getUserId(request);
Customer customer = UserUtils.getUserStatus(request);
if ((customer.getStatus() > CustomerStatus.WYY || customer.getStatusMG() > CustomerStatus.WYY)
|| (customer.getStatus() != CustomerStatus.SCZL && customer.getStatusMG() != CustomerStatus.SCZL)) {
response.sendRedirect(request.getContextPath() + "/my/account/open.jsp");
return;
}
customer = UserUtils.getUserProofInfo(request);
pageContext.setAttribute("customer", customer);
//是否代交开户
Boolean substitute = request.getSession().getAttribute(Constant.SUBSTITUTE_APPOINTMENT) == null ? false : true;
%>





长复证券--开户--上传资料


























开通账户,需提供您的
<%if (customer.getNationtype() == 0 || customer.getNationtype() == 10) { %>
身份证住址证明
<%} else { %>
护照照片
<%} %>


请按照以下指示进行上传



上传<%=customer.getNationtype()==20?"护照":"身份证明" %>:


所拍证件需四角齐全,字迹清晰,无反光;


<%boolean hasFront = customer.getCardFrontSideUrl() != null && customer.getCardFrontSideUrl().length() > 0;%>
<%=hasFront?"cf-uploader-img":"" %>" id="cardFrontSide_container">
data-rule="required;" data-msg-required="请上传<%=customer.getNationtype()==20?"护照":"身份证正面" %>" <%} %>/>

<%if (hasFront) { %>


<%
if (customer.getNationtype() == 0) {
boolean hasBack = customer.getCardBackSideUrl() != null && customer.getCardBackSideUrl().length() > 0;
%>
" id="cardBackSideUrl_container">
data-rule="required;" data-msg-required="请上传身份证反面" <%} %>/>

<%if (hasBack) { %>


<%} %>


<%if(customer.getNationtype() == 0 || customer.getNationtype() == 10) { %>

上传住址证明:


请上传三个月内的有效住址证明,且其中的地址必须与填写资料时提交的地址一致;


<%if(customer.getNationtype() == 0) {%>

Tips:  住址与身份证地址不符时需上传。


<%} %>
<%boolean hasAddress = customer.getAddressProofUrl() != null && customer.getAddressProofUrl().length() > 0;%>

<%} %>













你可能感兴趣的:(身份证上传示例)