From 6f14087a1690da6b077297d094a2740b0af4c76d Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期一, 25 四月 2022 10:23:47 +0800 Subject: [PATCH] 修改显示顺序orderNum类型为整型 --- ruoyi-common/src/main/java/com/ruoyi/common/utils/ip/AddressUtils.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/ip/AddressUtils.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/ip/AddressUtils.java index 11faa32..8b18da9 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/ip/AddressUtils.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/ip/AddressUtils.java @@ -25,7 +25,6 @@ public static String getRealAddressByIP(String ip) { - String address = UNKNOWN; // 内网不查询 if (IpUtils.internalIp(ip)) { @@ -51,6 +50,6 @@ log.error("获取地理位置异常 {}", ip); } } - return address; + return UNKNOWN; } } -- Gitblit v1.9.2