Browse Source

个人及团体认证接口修改

Antiloveg 9 years ago
parent
commit
9cf599e313

+ 2 - 6
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -244,15 +244,11 @@ public class PublicController extends BaseController {
     /**
      * 获取并输出private图片	
      */
-	@RequestMapping(value = "/writeImage" , method = RequestMethod.POST)
+	@RequestMapping(value = "/writeImage" , method = RequestMethod.GET)
 	public void writeImage (HttpServletResponse response, HttpServletRequest request, String path){
 		try {
-			response.setHeader("Pragma", "No-cache");
-			response.setHeader("Cache-Control", "no-cache");
-			response.setDateHeader("Expires", 0);
-			response.setContentType("image/jpg");
 			String realPath = uploadPrivatePath + path;
-			PictureUtils.outputImage(response.getOutputStream(), realPath);
+			PictureUtils.outputImage(response, realPath);
 		} catch (IOException e) {
 			LoggerUtils.fmtError(getClass(), e, "获取图片异常:%s", e.getMessage());
 		}

+ 5 - 0
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -55,6 +55,11 @@ public class WebpageController extends BaseController {
 		return userLogin(request,modelview,"/user/certify");
 	}
 	
+	@RequestMapping(value = "/user/groupCertify", method = RequestMethod.GET)
+	public ModelAndView userGroupCertify(HttpServletRequest request, ModelAndView modelview) {
+		return userLogin(request,modelview,"/user/groupCertify");
+	}
+	
 	@RequestMapping(value = "/user/index", method = RequestMethod.GET)
 	public ModelAndView userIndex(HttpServletRequest request, ModelAndView modelview) {
 		return userLogin(request,modelview,"/user/index");

+ 2 - 3
src/main/java/com/goafanti/common/mapper/OrganizationIdentityMapper.xml

@@ -443,10 +443,9 @@
    
   <select id="selectOrgIdentityBoByUserId" parameterType="java.lang.String" resultType="com.goafanti.user.bo.OrgIdentityBo">
   	select t.id,t.uid,t.contacts,t.fixed_tel as fixedTel ,t.qq,t.postal_address as postalAddress ,t.postcode,
-    u.email ,i.legal_person as legalPerson from user u LEFT JOIN organization_identity t
+    u.email ,t.legal_person as legalPerson from user u LEFT JOIN organization_identity t
     on t.uid = u.id 
-    left join organization_info i 
-    on u.id = i.uid where t.uid=#{uid,jdbcType=VARCHAR} 
+     where t.uid=#{uid,jdbcType=VARCHAR} 
   </select>
   
   <select id="selectAllOrgIndentity" resultMap="BaseResultMap">

+ 3 - 14
src/main/java/com/goafanti/common/mapper/OrganizationInfoMapper.xml

@@ -6,7 +6,6 @@
     <result column="uid" property="uid" jdbcType="VARCHAR" />
     <result column="identity_type" property="identityType" jdbcType="VARCHAR" />
     <result column="company_name" property="companyName" jdbcType="VARCHAR" />
-    <result column="legal_person" property="legalPerson" jdbcType="VARCHAR"/>
     <result column="location_province" property="locationProvince" jdbcType="VARCHAR" />
     <result column="location_city" property="locationCity" jdbcType="VARCHAR" />
     <result column="location_area" property="locationArea" jdbcType="VARCHAR" />
@@ -17,7 +16,7 @@
     <result column="publicity_picture_url" property="publicityPictureUrl" jdbcType="VARCHAR" />
   </resultMap>
   <sql id="Base_Column_List" >
-    id, uid, identity_type, company_name, legal_person,location_province, location_city,location_area,
+    id, uid, identity_type, company_name, location_province, location_city,location_area,
     unit_size, company_introduction, 
     home_unit,  logo_url, publicity_picture_url
   </sql>
@@ -33,12 +32,12 @@
   </delete>
   <insert id="insert" parameterType="com.goafanti.common.model.OrganizationInfo" >
     insert into organization_info (id, uid, identity_type, 
-      company_name, legal_person,location_province, location_city,location_area,
+      company_name, location_province, location_city,location_area,
       unit_size, 
       company_introduction, home_unit,  
       logo_url, publicity_picture_url)
     values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{identityType,jdbcType=VARCHAR}, 
-      #{companyName,jdbcType=VARCHAR}, #{legalPerson,jdbcType=VARCHAR},
+      #{companyName,jdbcType=VARCHAR},
       #{locationProvince,jdbcType=VARCHAR}, #{locationCity,jdbcType=VARCHAR}, #{locationArea,jdbcType=VARCHAR}, 
       #{unitSize,jdbcType=VARCHAR}, 
       #{companyIntroduction,jdbcType=VARCHAR}, #{homeUnit,jdbcType=VARCHAR},  
@@ -59,9 +58,6 @@
       <if test="companyName != null" >
         company_name,
       </if>
-      <if test="legalPerson != null" >
-        legal_person,
-      </if>
       <if test="locationProvince != null" >
         location_province,
       </if>
@@ -100,9 +96,6 @@
       <if test="companyName != null" >
         #{companyName,jdbcType=VARCHAR},
       </if>
-      <if test="legalPerson != null" >
-        #{legalPerson,jdbcType=VARCHAR},
-      </if>
       <if test="locationProvince != null" >
         #{locationProvince,jdbcType=VARCHAR},
       </if>
@@ -141,9 +134,6 @@
       <if test="companyName != null" >
         company_name = #{companyName,jdbcType=VARCHAR},
       </if>
-      <if test="legalPerson != null" >
-         legal_person = #{legalPerson,jdbcType=VARCHAR},
-      </if>
        <if test="locationProvince != null" >
        location_Province =  #{locationProvince,jdbcType=VARCHAR},
       </if>
@@ -176,7 +166,6 @@
     set uid = #{uid,jdbcType=VARCHAR},
       identity_type = #{identityType,jdbcType=VARCHAR},
       company_name = #{companyName,jdbcType=VARCHAR},
-      legal_person = #{legalPerson,jdbcType=VARCHAR},
       location_province = #{locationProvince,jdbcType=VARCHAR},
       location_city = #{locationCity,jdbcType=VARCHAR},
       location_area = #{locationArea,jdbcType=VARCHAR},

+ 0 - 11
src/main/java/com/goafanti/common/model/OrganizationInfo.java

@@ -15,10 +15,6 @@ public class OrganizationInfo {
     */
     private String companyName;
     
-    /**
-     * 法人
-     */
-    private String legalPerson;
 
    
 
@@ -96,13 +92,6 @@ public class OrganizationInfo {
         this.companyName = companyName;
     }
     
-    public String getLegalPerson() {
-		return legalPerson;
-	}
-
-	public void setLegalPerson(String legalPerson) {
-		this.legalPerson = legalPerson;
-	}
 
 
     public String getLocationProvince() {

+ 54 - 53
src/main/java/com/goafanti/common/utils/DateUtils.java

@@ -1,53 +1,54 @@
-package com.goafanti.common.utils;
-
-import java.util.Calendar;
-import java.util.Date;
-
-public class DateUtils extends org.apache.commons.lang3.time.DateUtils {
-
-	/**
-	 * Determines how two dates compare up to no more than the specified most
-	 * significant field.
-	 * 
-	 * @param date1
-	 *            the first date, not <code>null</code>
-	 * @param date2
-	 *            the second date, not <code>null</code>
-	 * @param field
-	 *            the field from <code>Calendar</code>
-	 * @return diff millis
-	 * @throws IllegalArgumentException
-	 *             if any argument is <code>null</code>
-	 * @see #truncate(Calendar, int)
-	 * @see #truncatedCompareTo(Date, Date, int)
-	 * @since 3.0
-	 */
-	public static long truncatedDiffTo(final Date date1, final Date date2, final int field) {
-		final Date truncatedDate1 = truncate(date1, field);
-		final Date truncatedDate2 = truncate(date2, field);
-		long thisTime = truncatedDate1.getTime();
-		long anotherTime = truncatedDate2.getTime();
-		return Math.abs(thisTime - anotherTime);
-	}
-
-	/**
-	 * Determines how two dates compare up to no more than the specified most
-	 * significant field.
-	 * 
-	 * @param date1
-	 *            the first date, not <code>null</code>
-	 * @param date2
-	 *            the second date, not <code>null</code>
-	 * @param field
-	 *            the field from <code>Calendar</code>
-	 * @return diff millis
-	 * @throws IllegalArgumentException
-	 *             if any argument is <code>null</code>
-	 * @see #truncate(Calendar, int)
-	 * @see #truncatedCompareTo(Date, Date, int)
-	 * @since 3.0
-	 */
-	public static long truncatedHourDiffTo(final Date date1, final Date date2) {
-		return truncatedDiffTo(date1, date2, Calendar.HOUR) / 3600000;
-	}
-}
+package com.goafanti.common.utils;
+
+import java.util.Calendar;
+import java.util.Date;
+
+public class DateUtils extends org.apache.commons.lang3.time.DateUtils {
+
+	/**
+	 * Determines how two dates compare up to no more than the specified most
+	 * significant field.
+	 * 
+	 * @param date1
+	 *            the first date, not <code>null</code>
+	 * @param date2
+	 *            the second date, not <code>null</code>
+	 * @param field
+	 *            the field from <code>Calendar</code>
+	 * @return diff millis
+	 * @throws IllegalArgumentException
+	 *             if any argument is <code>null</code>
+	 * @see #truncate(Calendar, int)
+	 * @see #truncatedCompareTo(Date, Date, int)
+	 * @since 3.0
+	 */
+	public static long truncatedDiffTo(final Date date1, final Date date2, final int field) {
+		final Date truncatedDate1 = truncate(date1, field);
+		final Date truncatedDate2 = truncate(date2, field);
+		long thisTime = truncatedDate1.getTime();
+		long anotherTime = truncatedDate2.getTime();
+		return Math.abs(thisTime - anotherTime);
+	}
+
+	/**
+	 * Determines how two dates compare up to no more than the specified most
+	 * significant field.
+	 * 
+	 * @param date1
+	 *            the first date, not <code>null</code>
+	 * @param date2
+	 *            the second date, not <code>null</code>
+	 * @param field
+	 *            the field from <code>Calendar</code>
+	 * @return diff millis
+	 * @throws IllegalArgumentException
+	 *             if any argument is <code>null</code>
+	 * @see #truncate(Calendar, int)
+	 * @see #truncatedCompareTo(Date, Date, int)
+	 * @since 3.0
+	 */
+	public static long truncatedHourDiffTo(final Date date1, final Date date2) {
+		return truncatedDiffTo(date1, date2, Calendar.HOUR) / 3600000;
+	}
+	
+}

+ 23 - 6
src/main/java/com/goafanti/common/utils/PictureUtils.java

@@ -1,11 +1,12 @@
 package com.goafanti.common.utils;
 
-import java.awt.image.BufferedImage;
 import java.io.File;
+import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.OutputStream;
 
-import javax.imageio.ImageIO;
+import javax.servlet.http.HttpServletResponse;
+
 
 public class PictureUtils {
 	/**
@@ -14,11 +15,27 @@ public class PictureUtils {
 	 * @param path
 	 * @throws IOException
 	 */
-	public static void outputImage(OutputStream os, String path) throws IOException{
+	public static void outputImage(HttpServletResponse response , String path) throws IOException{
+		response.setHeader("Pragma", "No-cache");
+		response.setHeader("Cache-Control", "no-cache");
+		response.setDateHeader("Expires", 0);
+		response.setContentType("image/jpg");
+		
+		OutputStream out = response.getOutputStream();
+		
 		File file = new File(path);
-		BufferedImage image = 
-				new BufferedImage(ImageIO.read(file).getWidth(), ImageIO.read(file).getHeight(), BufferedImage.TYPE_INT_RGB);
-		ImageIO.write(image, "jpg", os);
+		FileInputStream fis;
+	    fis = new FileInputStream(file);
+	    
+	    long size = file.length();
+	    byte[] temp = new byte[(int) size];
+        fis.read(temp, 0, (int) size);
+	    fis.close();
+	    byte[] data = temp;
+	    
+		out.write(data);
+		out.flush();
+        out.close();
 	}
 
 }

+ 2 - 3
src/main/java/com/goafanti/techservice/patent/controller/PatentApiController.java

@@ -22,7 +22,6 @@ import org.apache.poi.hssf.usermodel.HSSFRow;
 import org.apache.poi.hssf.usermodel.HSSFSheet;
 import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 import org.apache.poi.ss.util.CellRangeAddress;
-import org.junit.Test;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestMapping;
@@ -578,9 +577,9 @@ public class PatentApiController extends BaseApiController {
 			} else {
 				row.createCell(10).setCellValue("否");
 			}
-			
+			                                                                                           
 			row.createCell(11).setCellValue(obj.getPatentApplicationDateFormattedDate());
-			row.createCell(12).setCellValue(null == obj.getPatentApplicationDateFormattedDate() ? "" : calDeadline(obj.getPatentApplicationDateFormattedDate()));
+			row.createCell(12).setCellValue(null == obj.getPatentApplicationDateFormattedDate() ? "" :  calDeadline(obj.getPatentApplicationDateFormattedDate()));
 			
 		}
 		DownloadUtils downloadUtils = new DownloadUtils();

+ 0 - 11
src/main/java/com/goafanti/user/bo/OrgIdentityBo.java

@@ -11,17 +11,6 @@ public class OrgIdentityBo extends OrganizationIdentity{@Size(min = 0, max = 127
 		+ ErrorConstants.EMAIL_PATTERN_ERROR + "}")
 	private String email;
 
-    private String legalPerson;
-
-    
-
-	public String getLegalPerson() {
-		return legalPerson;
-	}
-
-	public void setLegalPerson(String legalPerson) {
-		this.legalPerson = legalPerson;
-	}
 
 	public String getEmail() {
 		return email;

+ 117 - 16
src/main/java/com/goafanti/user/controller/UserApiController.java

@@ -1,6 +1,7 @@
 package com.goafanti.user.controller;
 
 import java.io.IOException;
+import java.math.BigDecimal;
 import java.util.List;
 import java.util.UUID;
 
@@ -8,6 +9,7 @@ import javax.annotation.Resource;
 import javax.servlet.http.HttpServletRequest;
 
 import org.apache.commons.lang3.StringUtils;
+import org.junit.Test;
 import org.springframework.stereotype.Controller;
 import org.springframework.validation.BindingResult;
 import org.springframework.web.bind.annotation.RequestMapping;
@@ -443,16 +445,7 @@ public class UserApiController extends BaseApiController {
 		organizationIdentity.setQq(orgIdentityBo.getQq());
 		organizationIdentity.setPostalAddress(orgIdentityBo.getPostalAddress());
 		organizationIdentity.setPostcode(orgIdentityBo.getPostcode());
-		OrganizationInfo info = organizationInfoService.selectOrgInfoByUserId(TokenManager.getUserId());
-		if (null == info){
-			OrganizationInfo i = new OrganizationInfo();
-			i.setId(UUID.randomUUID().toString());
-			i.setUid(TokenManager.getUserId());
-			organizationInfoService.insert(i);
-		} else {
-			info.setLegalPerson(orgIdentityBo.getLegalPerson());
-			organizationInfoService.updateByPrimaryKeySelective(info);
-		}
+		organizationIdentity.setLegalPerson(orgIdentityBo.getLegalPerson());
 		if (identity == null) {
 			organizationIdentity.setId(UUID.randomUUID().toString());
 			organizationIdentity.setUid(TokenManager.getUserId());
@@ -673,6 +666,39 @@ public class UserApiController extends BaseApiController {
 				return res;
 			}
 		}
+		
+		if (3 == userIdentity.getProcess()){
+			UserIdentity u = userIdentityService.selectUserIdentityByUserId(TokenManager.getUserId());
+			u.setAuditStatus(1);
+			userIdentityService.updateByPrimaryKeySelective(u);
+		}
+		
+		if (5 == userIdentity.getProcess()){
+			UserIdentity u = userIdentityService.selectUserIdentityByUserId(TokenManager.getUserId());
+			System.out.println((System.currentTimeMillis() - u.getPaymentDate().getTime()) > 432000000);
+			if ((System.currentTimeMillis() - u.getPaymentDate().getTime()) > 432000000){
+				System.out.println(111);
+				res.getError().add(buildError("","超过打款日期5日,无法提交确认"));
+				return res;
+			}
+			if (3 == u.getWrongCount()){
+				res.getError().add(buildError("","输入错误金额次数过多"));
+				return res;
+			} else {
+				if (u.getAmountMoney() != userIdentity.getAmountMoney()){
+					int t = 3 - u.getWrongCount() - 1;
+					u.setWrongCount(u.getWrongCount()+1);
+					userIdentityService.updateByPrimaryKeySelective(u);	
+					if (0 == t){
+						res.getError().add(buildError("","输入错误金额次数过多"));
+					} else {
+						res.getError().add(buildError("","输入打款金额错误,您还有" + t + "次机会"));
+					}
+				return res;
+			    }
+			}
+			
+		}
 		return dealUserProcess(res,userIdentity,TokenManager.getUserId());
 	}
 	
@@ -700,23 +726,93 @@ public class UserApiController extends BaseApiController {
 				return res;
 			}
 		}
-		
+		if (3 == o.getProcess()){
+			OrganizationIdentity orgIdentity =	organizationIdentityService.selectOrgIdentityByUserId(TokenManager.getUserId());
+			orgIdentity.setAuditStatus(1);
+			organizationIdentityService.updateByPrimaryKeySelective(orgIdentity);
+		}
 		if (5 == o.getProcess()){
 			OrganizationIdentity orgIdentity =	organizationIdentityService.selectOrgIdentityByUserId(TokenManager.getUserId());
-			if (3 == orgIdentity.getWrongCount()){
-				res.getError().add(buildError("","输入错误金额次数过多"));
+			if (System.currentTimeMillis() - orgIdentity.getPaymentDate().getTime() > 43200000000L){
+				res.getError().add(buildError("超过打款日期5日,无法提交确认"));
 				return res;
-			} else {
-				
 			}
+			if (3 == orgIdentity.getWrongCount()){
+				res.getError().add(buildError("输入错误金额次数过多"));
+				return res;
+			} 
+			if (o.getValidationAmount() != orgIdentity.getValidationAmount()){
+				int t = 3 - o.getWrongCount() - 1;
+				o.setWrongCount(o.getWrongCount() + 1);
+				organizationIdentityService.updateByPrimaryKeySelective(o);	
+				if (0 == t){
+					res.getError().add(buildError("输入错误金额次数过多"));
+				} else {
+					res.getError().add(buildError("输入打款金额错误,您还有" + t + "次机会"));
+				}
+					return res;
+				}
+			
 		}
 		return dealOrgProcess(res, o ,TokenManager.getUserId());
 	}
 	
+	/**
+	 * 认证失败
+	 */
+	@RequestMapping(value="/identFailed", method = RequestMethod.GET)
+	public Result authenticationFailed(){
+		Result res = new Result();
+		return dealFaild(res);
+	}
 	
+	/**
+	 * 管理端确认用户认证
+	 * @param auditStatus
+	 * @param money
+	 * @param uid
+	 * @return
+	 */
+	@RequestMapping(value="/adminConfirmIdent", method = RequestMethod.POST)
+	public Result adminConfirmIdent(Integer auditStatus, BigDecimal money, String uid){
+		Result res = new Result();
+		if (0 == userService.selectByPrimaryKey(uid).getType()){
+			UserIdentity u = userIdentityService.selectUserIdentityByUserId(uid);
+			u.setAuditStatus(auditStatus);
+			u.setAmountMoney(money);
+			res.setData(userIdentityService.updateByPrimaryKeySelective(u));
+		}else{
+			OrganizationIdentity o = organizationIdentityService.selectOrgIdentityByUserId(uid);
+			o.setAuditStatus(auditStatus);
+			o.setValidationAmount(money);
+			res.setData(organizationIdentityService.updateByPrimaryKeySelective(o));
+		}
+		return res;
+	}
 	
+	//认证失败清除相关认证信息
+	private Result dealFaild(Result res){
+		if (0 == userService.selectByPrimaryKey(TokenManager.getUserId()).getType()){
+			UserIdentity u = userIdentityService.selectUserIdentityByUserId(TokenManager.getUserId());
+			UserIdentity user = new UserIdentity();
+			user.setId(u.getId());
+			user.setUid(u.getUid());
+			user.setProcess(0);
+			user.setAmountMoney(new BigDecimal(0));
+			res.setData(userIdentityService.updateByPrimaryKey(user));
+		} else {
+			OrganizationIdentity o = organizationIdentityService.selectOrgIdentityByUserId(TokenManager.getUserId());
+			OrganizationIdentity org = new OrganizationIdentity();
+			org.setId(o.getId());
+			org.setUid(o.getUid());
+			org.setProcess(0);
+			org.setValidationAmount(new BigDecimal(0));
+			res.setData(organizationIdentityService.updateByPrimaryKey(org));
+		}
+		return res;
+	}
 	
-	
+	//orgProcess
 	private Result dealOrgProcess(Result res, OrganizationIdentity o ,String uid){
 		OrganizationIdentity org = organizationIdentityService.selectOrgIdentityByUserId(uid);
 		if (null == org){
@@ -730,6 +826,7 @@ public class UserApiController extends BaseApiController {
 		return res;
 	}
 	
+	//userProcess
 	private Result dealUserProcess(Result res,UserIdentity userIdentity,String uid){
 		UserIdentity identity = userIdentityService.selectUserIdentityByUserId(uid);
 		if (null == identity){
@@ -743,6 +840,9 @@ public class UserApiController extends BaseApiController {
 		return res;
 	}
 	
+		
+		
+	
 	private void cleanCodeSession(){
 		TokenManager.getSession().removeAttribute(VerifyCodeUtils.RESET_CODE);
 		TokenManager.getSession().removeAttribute(VerifyCodeUtils.RESET_CODE_TIME);
@@ -757,5 +857,6 @@ public class UserApiController extends BaseApiController {
 		ub.setUid(u.getId());
 		return ub;
 	}
+	
 
 }

+ 2 - 0
src/main/java/com/goafanti/user/service/OrganizationIdentityService.java

@@ -17,4 +17,6 @@ public interface OrganizationIdentityService {
 
 	List<OrganizationIdentity> selectAllOrgIndentity();
 
+	int updateByPrimaryKey(OrganizationIdentity org);
+
 }

+ 2 - 0
src/main/java/com/goafanti/user/service/UserIdentityService.java

@@ -13,5 +13,7 @@ public interface UserIdentityService {
 
 	UserIdentityBo selectUserIdentityBoByUserId(String uid);
 
+	int updateByPrimaryKey(UserIdentity u);
+
 
 }

+ 5 - 0
src/main/java/com/goafanti/user/service/impl/OrganizationIdentityServiceImpl.java

@@ -41,4 +41,9 @@ public class OrganizationIdentityServiceImpl implements OrganizationIdentityServ
 		return organizationIdentityMapper.selectAllOrgIndentity();
 	}
 
+	@Override
+	public int updateByPrimaryKey(OrganizationIdentity org) {
+		return organizationIdentityMapper.updateByPrimaryKey(org);
+	}
+
 }

+ 5 - 0
src/main/java/com/goafanti/user/service/impl/UserIdentityServiceImpl.java

@@ -33,4 +33,9 @@ public class UserIdentityServiceImpl implements UserIdentityService{
 		return userIdentityMapper.selectUserIdentityBoByUserId(uid);
 	}
 
+	@Override
+	public int updateByPrimaryKey(UserIdentity u) {
+		return userIdentityMapper.updateByPrimaryKey(u);
+	}
+
 }

+ 1 - 1
src/main/resources/spring/spring-shiro.xml

@@ -21,7 +21,7 @@
 	    <constructor-arg index="1" value="${jedis.host}" name="host" type="java.lang.String"/>
 	    <constructor-arg index="2" value="${jedis.port}"  name="port" type="int"/>
 	    <constructor-arg index="3" value="${jedis.timeout}"  name="timeout" type="int"/>
-	    <!-- <constructor-arg index="4" value="${jedis.password}"  name="password" type="java.lang.String"/> -->
+	    <constructor-arg index="4" value="${jedis.password}"  name="password" type="java.lang.String"/>
 	  
 	</bean>
 	

+ 1 - 1
src/main/webapp/WEB-INF/views/user/certify.jsp

@@ -1,7 +1,7 @@
 <%@ page contentType="text/html;charset=UTF-8" language="java"%>
 <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
 <%@ include file="../header.jsp"%>
-<title>认证页面</title>
+<title>个人用户认证页面</title>
 <link href="${staticHost}/user/certify.css" rel="stylesheet">
 </head>
 <body>

+ 11 - 0
src/main/webapp/WEB-INF/views/user/groupCertify.jsp

@@ -0,0 +1,11 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
+<%@ include file="../header.jsp"%>
+<title>团体用户认证页面</title>
+<link href="${staticHost}/user/groupCertify.css" rel="stylesheet">
+</head>
+<body>
+	<div id="root"></div>
+	<script type="text/javascript" src="${staticHost}/user/groupCertify.js"></script>
+</body>
+</html>

+ 1 - 1
src/main/webapp/WEB-INF/web.xml

@@ -10,7 +10,7 @@
 		and Filters -->
 	<context-param>
 		<param-name>spring.profiles.active</param-name>
-		<param-value>local</param-value>
+		<param-value>dev</param-value>
 	</context-param>
 
 	<!-- Creates the Spring Container shared by all Servlets and Filters -->