jiapeng 7 years ago
parent
commit
94ce84b64d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/ekexiu/portal/service/SysService.java

+ 1 - 1
src/main/java/com/ekexiu/portal/service/SysService.java

1794
	public String regMobilePhone(@JdbcConn(false) Connection con, String mobilePhone, @DefaultValue("true") boolean checkExists,String vcode,@SessionVal(value="verification",remove=true) String scode)
1794
	public String regMobilePhone(@JdbcConn(false) Connection con, String mobilePhone, @DefaultValue("true") boolean checkExists,String vcode,@SessionVal(value="verification",remove=true) String scode)
1795
			throws JfwBaseException, SQLException {
1795
			throws JfwBaseException, SQLException {
1796
		if(!vcode.equals(scode)){
1796
		if(!vcode.equals(scode)){
1797
			throw new JfwBaseException(1, "valid code error");
1797
			throw new JfwBaseException(20001, "valid code error");
1798
		}
1798
		}
1799
		if (checkExists) {
1799
		if (checkExists) {
1800
			User user = this.userDao.queryByEmailOrMobilePhone(con, mobilePhone);
1800
			User user = this.userDao.queryByEmailOrMobilePhone(con, mobilePhone);