Pre Merge pull request !31 from chasel_jc/master

pull/31/MERGE
chasel_jc 2023-04-02 04:12:38 +00:00 committed by Gitee
commit 4650e25616
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()));
}
/**