From 03e7f875fb31d592af1066a63cad2e185c79b5ce Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期二, 08 六月 2021 17:12:54 +0800 Subject: [PATCH] 修改随手拍、微心愿、一起议昵称显示问题 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/InputUserInfoVO.java | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/InputUserInfoVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/InputUserInfoVO.java index e1b28d8..9d06d9e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/InputUserInfoVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/user/InputUserInfoVO.java @@ -1,6 +1,10 @@ package com.panzhihua.common.model.vos.user; import com.fasterxml.jackson.annotation.JsonFormat; +import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass; +import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField; +import com.panzhihua.common.model.helper.sensitive.Sensitive; +import com.panzhihua.common.model.helper.sensitive.SensitiveStrategy; import com.panzhihua.common.model.vos.community.ComMngStructHouseVO; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; @@ -17,6 +21,7 @@ */ @Data @ApiModel(value = "居民数据信息") +@EncryptDecryptClass public class InputUserInfoVO implements Serializable { @ApiModelProperty("用户编号") @@ -45,6 +50,8 @@ private Integer maritalStatus; @ApiModelProperty("联系方式") + @EncryptDecryptField + @Sensitive(strategy = SensitiveStrategy.PHONE) private String phone; @ApiModelProperty("文化程度") @@ -102,11 +109,11 @@ private String address; @ApiModelProperty("创建时间") - @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createAt; @ApiModelProperty("修改时间") - @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date updateAt; @ApiModelProperty("是否残疾人 0 否 1是") -- Gitblit v1.7.1