消息已讀

This commit is contained in:
yyb
2025-05-14 15:08:09 +08:00
parent a0750e1246
commit b1d1a3a93e
20 changed files with 65 additions and 66 deletions

View File

@@ -48,7 +48,7 @@ public class IpUtils
ip = request.getRemoteAddr();
}
return "0:0:0:0:0:0:0:1".equals(ip) ? "127.0.0.1" : getMultistageReverseProxyIp(ip);
return "0:0:0:0:0:0:0:1".equals(ip) ? "10.168.2.150" : getMultistageReverseProxyIp(ip);
}
/**
@@ -60,7 +60,7 @@ public class IpUtils
public static boolean internalIp(String ip)
{
byte[] addr = textToNumericFormatV4(ip);
return internalIp(addr) || "127.0.0.1".equals(ip);
return internalIp(addr) || "10.168.2.150".equals(ip);
}
/**
@@ -209,7 +209,7 @@ public class IpUtils
catch (UnknownHostException e)
{
}
return "127.0.0.1";
return "10.168.2.150";
}
/**
@@ -263,4 +263,4 @@ public class IpUtils
{
return StringUtils.isBlank(checkString) || "unknown".equalsIgnoreCase(checkString);
}
}
}