Commit 84fab5a8 by zhiwj

刷新redis

parent 04afcfa1
......@@ -47,7 +47,8 @@ public class AuthInterceptor extends HandlerInterceptorAdapter {
RpcContext.getContext().getAttachments().put(Constants.USER_TOKEN, token);
System.out.println(JSON.toJSONString(RpcContext.getContext().getArguments()));
// 更新redis
UserContext.getContext().refresh();
if (!(object.getClass().isAssignableFrom(HandlerMethod.class))) {
return true;
}
......
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