From e0ab4d6bafcb251aca60d13de535b5f13e4d8a83 Mon Sep 17 00:00:00 2001 From: doufenghu Date: Fri, 8 May 2020 17:15:24 +0800 Subject: fix(IPLookup):定位库加载时无需指定database,解决固定IPLOCATION 问题 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/zdjizhi/utils/GalaxyDataBaseReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/zdjizhi/utils/GalaxyDataBaseReader.java b/src/main/java/com/zdjizhi/utils/GalaxyDataBaseReader.java index 2cd8406..7641fc1 100644 --- a/src/main/java/com/zdjizhi/utils/GalaxyDataBaseReader.java +++ b/src/main/java/com/zdjizhi/utils/GalaxyDataBaseReader.java @@ -178,7 +178,7 @@ public class GalaxyDataBaseReader { public LocationResponse location(InetAddress ipAddress) throws IOException, GeoIp2Exception { - return this.get(ipAddress, LocationResponse.class, "IPLOCATOR"); + return this.get(ipAddress, LocationResponse.class, ""); } -- cgit v1.2.3