Commit 4c9a9ee6 by 陶光胜

init

parent bc17d688
...@@ -48,7 +48,6 @@ public class AuthInterceptor extends HandlerInterceptorAdapter { ...@@ -48,7 +48,6 @@ public class AuthInterceptor extends HandlerInterceptorAdapter {
String token = UserContext.getContext().getToken(); String token = UserContext.getContext().getToken();
log.info("权限拦截token:{}", token); log.info("权限拦截token:{}", token);
RpcContext.getContext().getAttachments().put(Constants.USER_TOKEN, token); RpcContext.getContext().getAttachments().put(Constants.USER_TOKEN, token);
System.out.println(JSON.toJSONString(RpcContext.getContext().getArguments()));
// 更新redis // 更新redis
UserContext.getContext().refresh(); UserContext.getContext().refresh();
......
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