From bc94830a25552bbe20f13eaf0c48f890a0aed488 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Wed, 9 Nov 2022 20:59:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=907.3.2=E3=80=91=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=9F=BA=E7=A1=80=E6=8B=A6=E6=88=AA=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../guns/core/security/base/BaseSecurityInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/stylefeng/guns/core/security/base/BaseSecurityInterceptor.java b/src/main/java/cn/stylefeng/guns/core/security/base/BaseSecurityInterceptor.java index 0e5be149..fdedfcf4 100644 --- a/src/main/java/cn/stylefeng/guns/core/security/base/BaseSecurityInterceptor.java +++ b/src/main/java/cn/stylefeng/guns/core/security/base/BaseSecurityInterceptor.java @@ -75,7 +75,7 @@ public abstract class BaseSecurityInterceptor implements HandlerInterceptor { // 5.1 token没过期,但是session过期了,则从新进行会话创建操作,因为只有开启remember的用户才有这种情况 if (defaultJwtPayload != null && !sessionManagerApi.haveSession(token)) { - authServiceApi.createNewLoginInfo(token, defaultJwtPayload.getAccount()); + authServiceApi.createNewLoginInfo(token, defaultJwtPayload); } }