From 2b544b74f7b602ecbd52e301d5edd8c272fa43f5 Mon Sep 17 00:00:00 2001 From: Hugh Gao Date: Mon, 21 Oct 2019 16:50:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=89=8D=E7=AB=AF=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=8E=BB=E9=99=A4=E5=AF=86=E7=A0=81=E4=B8=8E=E7=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/jeecg/modules/system/entity/SysUser.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/entity/SysUser.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/entity/SysUser.java index 68c21b17..f9636ede 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/entity/SysUser.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/entity/SysUser.java @@ -4,6 +4,7 @@ import java.util.Date; import com.baomidou.mybatisplus.annotation.TableLogic; import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; import org.jeecg.common.aspect.annotation.Dict; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; @@ -54,13 +55,13 @@ public class SysUser implements Serializable { /** * 密码 */ - @JsonIgnore + @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private String password; /** * md5密码盐 */ - @JsonIgnore + @JsonProperty(access = JsonProperty.Access.WRITE_ONLY) private String salt; /**