pt-errand/src/main/java/com/ruoyi/errand/interceptor/APPJwtTokenInterceptor.java
@@ -91,7 +91,7 @@ } // 将userId存入SecurityContext(需自定义Authentication对象) WeAppAuthenticationToken authentication = new WeAppAuthenticationToken(userId, appUser, token); new WeAppAuthenticationToken(appUser, token); SecurityContextHolder.getContext().setAuthentication(authentication); chain.doFilter(request, response); } catch (Exception e) {