Commit 5cf15ea5 authored by 喻春霖's avatar 喻春霖

fixed

parent e59a1630
...@@ -333,14 +333,14 @@ public class AuthController { ...@@ -333,14 +333,14 @@ public class AuthController {
Map<String, Object> userInfoMap = null; Map<String, Object> userInfoMap = null;
// 转换用户信息 // 转换用户信息
AuthUserInfo userInfo = new AuthUserInfo(); AuthUserInfo userInfo = new AuthUserInfo();
//String userType = request.getParameter("user_type"); String userType = request.getParameter("user_type");
userInfo.setRealName(request.getParameter("real_name")); userInfo.setRealName(request.getParameter("real_name"));
userInfo.setId(request.getParameter("login_name")); userInfo.setId(request.getParameter("login_name"));
// if ("student".equals(userType)){ if ("student".equals(userType)){
// userInfo.setUserType(UserType.STUDENT); userInfo.setUserType(UserType.STUDENT);
// }else if ("tearcher".equals(userType)){ }else if ("tearcher".equals(userType)){
// userInfo.setUserType(UserType.TEACHER); userInfo.setUserType(UserType.TEACHER);
// } }
// 封装下游数据 // 封装下游数据
ClientDataInfo clientDataInfo = new ClientDataInfo(); ClientDataInfo clientDataInfo = new ClientDataInfo();
if(userInfo != null) { 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