From 18cf9e55e186c7114a99f924bce5e79630a8b69a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E6=9F=AF=E6=9F=AF?= <88455621@qq.com> Date: Mon, 29 Jul 2024 09:40:13 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E5=85=A8=E5=B1=80=EF=BC=9AArea=20=E5=9C=A8=20IDEA=20d?= =?UTF-8?q?ebug=20=E6=97=B6=20toString=20=E6=96=B9=E6=B3=95=E6=8A=A5?= =?UTF-8?q?=E9=94=99StackOverflowError=E3=80=81=E6=8C=87=E5=AE=9A=20jackso?= =?UTF-8?q?n=20=E9=BB=98=E8=AE=A4=E5=BA=8F=E5=88=97=E5=8C=96=E6=97=B6?= =?UTF-8?q?=E5=8F=8C=E5=90=91=E5=BC=95=E7=94=A8=E7=9A=84=E5=89=8D=E5=90=91?= =?UTF-8?q?=E3=80=81=E5=90=8E=E5=90=91=E5=87=BA=E5=8F=A3=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E6=AD=BB=E5=BE=AA=E7=8E=AF=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 常柯柯 <88455621@qq.com> --- .../src/main/java/cn/iocoder/yudao/framework/ip/core/Area.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yudao-framework/yudao-spring-boot-starter-biz-ip/src/main/java/cn/iocoder/yudao/framework/ip/core/Area.java b/yudao-framework/yudao-spring-boot-starter-biz-ip/src/main/java/cn/iocoder/yudao/framework/ip/core/Area.java index 262bc263c..302708587 100644 --- a/yudao-framework/yudao-spring-boot-starter-biz-ip/src/main/java/cn/iocoder/yudao/framework/ip/core/Area.java +++ b/yudao-framework/yudao-spring-boot-starter-biz-ip/src/main/java/cn/iocoder/yudao/framework/ip/core/Area.java @@ -1,6 +1,7 @@ package cn.iocoder.yudao.framework.ip.core; import cn.iocoder.yudao.framework.ip.core.enums.AreaTypeEnum; +import com.fasterxml.jackson.annotation.JsonBackReference; import com.fasterxml.jackson.annotation.JsonManagedReference; import lombok.AllArgsConstructor; import lombok.Data; @@ -54,7 +55,7 @@ public class Area { /** * 子节点 */ - @JsonManagedReference + @JsonBackReference private List children; }