Pārlūkot izejas kodu

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

zzy.zhiyuan.foxmail 8 gadi atpakaļ
vecāks
revīzija
147fbb6a17

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

297
			return true;
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
	 * 手机验证注册