mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 22:57:17 +08:00 
			
		
		
		
	chore: 优化登录 Helper
This commit is contained in:
		| @@ -93,7 +93,7 @@ public class LoginHelper { | |||||||
|      * @return 登录用户信息 |      * @return 登录用户信息 | ||||||
|      */ |      */ | ||||||
|     public static LoginUser getLoginUser(String token) { |     public static LoginUser getLoginUser(String token) { | ||||||
|         SaSession tokenSession = StpUtil.getTokenSessionByToken(token); |         SaSession tokenSession = StpUtil.getStpLogic().getTokenSessionByToken(token, false); | ||||||
|         if (null == tokenSession) { |         if (null == tokenSession) { | ||||||
|             return null; |             return null; | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user