From a505c825c736a227dfbb36b0a4fbcd44f21af230 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期一, 08 一月 2024 22:47:47 +0800
Subject: [PATCH] 代码合并

---
 Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java b/Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java
index 9d625aa..4bf7020 100644
--- a/Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java
+++ b/Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java
@@ -65,6 +65,10 @@
 		info.put(TokenUtil.DETAIL, principal.getDetail());
 		info.put(TokenUtil.LICENSE, TokenUtil.LICENSE_NAME);
 		info.put(TokenUtil.STRATEGYUPDATESTATUS, principal.getStrategyUpdateStatus());
+		info.put(TokenUtil.TENANTNAME, principal.getTenantName());
+		info.put(TokenUtil.DEPTNAME, principal.getDeptName());
+		info.put(TokenUtil.EMAIL, principal.getEmail());
+		info.put(TokenUtil.SECRETGRADE, principal.getSecretGrade());
 		((DefaultOAuth2AccessToken) accessToken).setAdditionalInformation(info);
 
 		//token鐘舵�佽缃�

--
Gitblit v1.9.3