|
|
|
@ -51,7 +51,7 @@ public class IPUtils {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@SneakyThrows
|
|
|
|
@SneakyThrows
|
|
|
|
public static Integer getAreaId(String ip) {
|
|
|
|
public static Integer getAreaId(String ip) {
|
|
|
|
return Integer.parseInt(SEARCHER.search(ip));
|
|
|
|
return Integer.parseInt(SEARCHER.search(ip.trim()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
|