BUGFIX: 未解析用户数据的接口使用了上一个使用这个线程的用户信息

This commit is contained in:
2025-09-16 17:42:39 +08:00
parent 106528ce08
commit b9c24386b9

View File

@@ -88,6 +88,8 @@ public class AuthenticationFilter extends OncePerRequestFilter {
stopWatch.stop();
}
} else {
//先清空当前线程变量,防止上一个线程遗留
UserContext.delete();
filterChain.doFilter(httpServletRequest, httpServletResponse);
}
}