Commit d32034e2 by 穆龙飞

modify:修改登录拦截

parent a1f98117
......@@ -71,7 +71,7 @@ public class UserInterceptor implements HandlerInterceptor {
if (yxuser == null || yxuser.getLoginTime() < System.currentTimeMillis() - 60 * 1000 * 1000) {
//获取urs登陆态
String cookie = request.getHeader("Cookie");
AuthenticateResult userInfo = userTicketClient.getUserInfo(cookie);
AuthenticateResult userInfo = userTicketClient.getFullUserInfo(cookie);
if (userInfo != null) {
RequestLocalBean.setUid(userInfo.getUsername());
RequestLocalBean.setName(userInfo.getProfile().getNickName());
......
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