Pre Merge pull request !30 from chasel_jc/master

pull/30/MERGE
chasel_jc 2023-03-30 06:42:50 +00:00 committed by Gitee
commit d08b85508e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

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