From ab60d6eb8b4a23a55ad202a56ef91cda9fd6fb37 Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期六, 23 七月 2022 14:31:56 +0800 Subject: [PATCH] bug修改 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java index d20b939..d4ffefc 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/LoginUserInfoVO.java @@ -9,6 +9,8 @@ import javax.validation.constraints.NotNull; import com.fasterxml.jackson.annotation.JsonFormat; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import com.panzhihua.common.model.vos.community.ComActVO; import com.panzhihua.common.model.vos.community.ComMngStructAreaVO; import com.panzhihua.common.model.vos.community.ComMngStructHouseVO; @@ -61,6 +63,7 @@ @ApiModelProperty("社区id") @Min(value = 1, groups = {PutGroup.class}, message = "社区id不能为空") @NotNull(groups = {PutGroup.class}, message = "社区id不能为空") + @JsonSerialize(using = ToStringSerializer.class) private Long communityId; @ApiModelProperty("社区名字") -- Gitblit v1.7.1