Commit d4191b5c authored by 曹雷's avatar 曹雷

Merge branch 'master' of http://180.167.91.206:8714/lilt/sh-ds

parents 9a1c963f e59a1630
......@@ -4,10 +4,7 @@ import cn.sh.chineseall.framework.core.util.ArrayUtils;
import cn.sh.chineseall.framework.core.util.StringUtils;
import cn.sh.chineseall.framework.lang.calendar.DateUtils;
import com.alibaba.fastjson.JSON;
import com.chineseall.eden.authcenter.agent.client.AuthUserInfo;
import com.chineseall.eden.authcenter.agent.client.ClientDataInfo;
import com.chineseall.eden.authcenter.agent.client.ClientItem;
import com.chineseall.eden.authcenter.agent.client.OauthClient;
import com.chineseall.eden.authcenter.agent.client.*;
import com.chineseall.eden.authcenter.agent.oauth.OauthConfig;
import com.chineseall.eden.authcenter.agent.oauth.OauthConfigItem;
import com.chineseall.eden.authcenter.agent.oauth.OauthType;
......@@ -336,9 +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);
// }
// 封装下游数据
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