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