ruoyi-framework/src/main/java/com/ruoyi/framework/security/filter/JwtAuthenticationTokenFilter.java
@@ -27,6 +27,13 @@ @Autowired private TokenService tokenService; /** SSE 使用异步 dispatch,续传阶段也必须恢复无状态 JWT 上下文。 */ @Override protected boolean shouldNotFilterAsyncDispatch() { return false; } @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws ServletException, IOException