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 68c21b17e39cc10529393d30dd35360eb94f363d..f9636ede5497d224e4da007965f072aa3d79d12b 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; /**