mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	update 优化 使用登录用户判断是否登录 提高效率
This commit is contained in:
		@@ -23,7 +23,7 @@ public class SysSensitiveServiceImpl implements SensitiveService {
 | 
			
		||||
     */
 | 
			
		||||
    @Override
 | 
			
		||||
    public boolean isSensitive(String roleKey, String perms) {
 | 
			
		||||
        if (!StpUtil.isLogin()) {
 | 
			
		||||
        if (!LoginHelper.isLogin()) {
 | 
			
		||||
            return true;
 | 
			
		||||
        }
 | 
			
		||||
        boolean roleExist = StringUtils.isNotBlank(roleKey);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user