Browse Source

查询用户手机号和邮箱的接口。

zzy.zhiyuan.foxmail 8 years ago
parent
commit
147fbb6a17
1 changed files with 11 additions and 0 deletions
  1. 11 0
      src/main/java/com/ekexiu/portal/service/SysService.java

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

@ -297,6 +297,17 @@ public class SysService {
297 297
			return true;
298 298
		}
299 299
	}
300
	
301
	@Get
302
	@Path("/qaUser")
303
	public User queryUser(@JdbcConn Connection con, String id) throws SQLException{
304
		User user =  this.userDao.query(con, id);
305
		User user2 = new User();
306
		user2.setId(user.getId());
307
		user2.setMobilePhone(user.getMobilePhone());
308
		user2.setEmail(user.getEmail());
309
		return user2;
310
	}
300 311
301 312
	/**
302 313
	 * 手机验证注册