From c0f21a9745daa3afef19110025bdee9d0ba00338 Mon Sep 17 00:00:00 2001 From: ludc <2870569285@qq.com> Date: 星期日, 26 三月 2023 01:29:15 +0800 Subject: [PATCH] 更新部分后端代码 --- Source/BladeX/blade-auth/src/main/java/org/springblade/auth/support/BladeJwtTokenEnhancer.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Source/BladeX/blade-auth/src/main/java/org/springblade/auth/support/BladeJwtTokenEnhancer.java b/Source/BladeX/blade-auth/src/main/java/org/springblade/auth/support/BladeJwtTokenEnhancer.java index c9fed81..5baaaee 100644 --- a/Source/BladeX/blade-auth/src/main/java/org/springblade/auth/support/BladeJwtTokenEnhancer.java +++ b/Source/BladeX/blade-auth/src/main/java/org/springblade/auth/support/BladeJwtTokenEnhancer.java @@ -64,6 +64,7 @@ info.put(TokenUtil.AVATAR, principal.getAvatar()); info.put(TokenUtil.DETAIL, principal.getDetail()); info.put(TokenUtil.LICENSE, TokenUtil.LICENSE_NAME); + info.put(TokenUtil.STRATEGYUPDATESTATUS, principal.getStrategyUpdateStatus()); ((DefaultOAuth2AccessToken) accessToken).setAdditionalInformation(info); //token鐘舵�佽缃� -- Gitblit v1.9.3