mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善
This commit is contained in:
@@ -85,6 +85,7 @@ class IpQueryService {
|
||||
String search = searcher.search(ipaddr);
|
||||
return search.replace("|0|", "").replace("|", "");
|
||||
} catch (Exception e) {
|
||||
log.warn("failed to search ip2region {}", ipaddr, e);
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user