mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-11-04 10:57:10 +08:00 
			
		
		
		
	优化:基于 ESLint 和阿里编码规约插件对部分代码规范进行优化
This commit is contained in:
		@@ -314,7 +314,7 @@ public class LogInterceptor implements HandlerInterceptor {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // 2、检查是否需要记录内网 IP 操作
 | 
			
		||||
        boolean isInnerIp = IpUtils.isInnerIP(ServletUtil.getClientIP(request));
 | 
			
		||||
        boolean isInnerIp = IpUtils.isInnerIp(ServletUtil.getClientIP(request));
 | 
			
		||||
        if (isInnerIp && Boolean.FALSE.equals(operationLogProperties.getIncludeInnerIp())) {
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user