mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
!31 IP查询导致异常问题
This commit is contained in:
parent
bb0110656b
commit
b9ba17a477
@ -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()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user