mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 优化 isLogin 判断逻辑
This commit is contained in:
		@@ -207,7 +207,8 @@ public class LoginHelper {
 | 
			
		||||
     */
 | 
			
		||||
    public static boolean isLogin() {
 | 
			
		||||
        try {
 | 
			
		||||
            return getLoginUser() != null;
 | 
			
		||||
            StpUtil.checkLogin();
 | 
			
		||||
            return true;
 | 
			
		||||
        } catch (Exception e) {
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user