From d15bb55822001421572bfee603b3d503cd63e07d Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期三, 21 五月 2025 16:30:32 +0800
Subject: [PATCH] 完善

---
 pt-errand/src/main/java/com/ruoyi/errand/interceptor/APPJwtTokenInterceptor.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pt-errand/src/main/java/com/ruoyi/errand/interceptor/APPJwtTokenInterceptor.java b/pt-errand/src/main/java/com/ruoyi/errand/interceptor/APPJwtTokenInterceptor.java
index 9d25cea..3609b25 100644
--- a/pt-errand/src/main/java/com/ruoyi/errand/interceptor/APPJwtTokenInterceptor.java
+++ b/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) {

--
Gitblit v1.7.1