wangliang 2 년 전
부모
커밋
d431f2d7da
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      themis-common/src/main/java/com/qmth/themis/common/util/IpUtil.java

+ 0 - 3
themis-common/src/main/java/com/qmth/themis/common/util/IpUtil.java

@@ -180,9 +180,6 @@ public class IpUtil {
      */
     public static String getIpInfo(Searcher searcher, String ip) {
         if (Objects.isNull(searcher)) {
-            searcher = getSearcher();
-        } else {
-            log.error("ip2region.xdb获取不到");
             return null;
         }
         String region = null;