From 6438f805266954874a2ddf345cd6e776f5854b0d Mon Sep 17 00:00:00 2001
From: dhb52 <dhb52@126.com>
Date: 星期一, 08 四月 2024 13:57:14 +0800
Subject: [PATCH] fix: easy-retry 3.2.0升级修复 1. SQLServer,Oracle的IDENTITY字段不能插入值 2. SQLServer er_system_user_=> er_system_user 3. ruoyi-admin增加token配置

---
 ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/utils/ip/AddressUtils.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/utils/ip/AddressUtils.java b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/utils/ip/AddressUtils.java
index a379878..3f7cd57 100644
--- a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/utils/ip/AddressUtils.java
+++ b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/utils/ip/AddressUtils.java
@@ -24,7 +24,7 @@
             return UNKNOWN;
         }
         // 鍐呯綉涓嶆煡璇�
-        ip = "0:0:0:0:0:0:0:1".equals(ip) ? "127.0.0.1" : HtmlUtil.cleanHtmlTag(ip);
+        ip = StringUtils.contains(ip, "0:0:0:0:0:0:0:1") ? "127.0.0.1" : HtmlUtil.cleanHtmlTag(ip);
         if (NetUtil.isInnerIP(ip)) {
             return "鍐呯綉IP";
         }

--
Gitblit v1.9.3