Commit e59a1630 authored by 喻春霖's avatar 喻春霖

fixed

parent 29ab8f86
......@@ -333,14 +333,14 @@ public class AuthController {
Map<String, Object> userInfoMap = null;
// 转换用户信息
AuthUserInfo userInfo = new AuthUserInfo();
String userType = request.getParameter("user_type");
//String userType = request.getParameter("user_type");
userInfo.setRealName(request.getParameter("real_name"));
userInfo.setId(request.getParameter("login_name"));
if ("student".equals(userType)){
userInfo.setUserType(UserType.STUDENT);
}else if ("tearcher".equals(userType)){
userInfo.setUserType(UserType.TEACHER);
}
// if ("student".equals(userType)){
// userInfo.setUserType(UserType.STUDENT);
// }else if ("tearcher".equals(userType)){
// userInfo.setUserType(UserType.TEACHER);
// }
// 封装下游数据
ClientDataInfo clientDataInfo = new ClientDataInfo();
if(userInfo != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment