Explorar o código

修复定位bug

徐玉祥 %!s(int64=4) %!d(string=hai) anos
pai
achega
8393fb7b90

+ 1 - 0
guns-base-support/guns-core/src/main/java/cn/stylefeng/guns/core/util/IpAddressUtil.java

@ -114,6 +114,7 @@ public class IpAddressUtil {
                resultJson = String.join("", (List<String>) JSONPath.read(resultJson, path));
            }
        } catch (Exception e) {
            resultJson = SymbolConstant.DASH;
            log.error(">>> 根据ip定位异常,请求号为:{},具体信息为:{}", RequestNoContext.get(), e.getMessage());
        }
        return resultJson;