From 11ab4b4832f8d9222646d083c92204d7b2b7f5fc Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 18 Jul 2020 12:32:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E5=B0=91JsonIgnore=E5=8C=85=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/project/system/domain/SysUser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ruoyi/src/main/java/com/ruoyi/project/system/domain/SysUser.java b/ruoyi/src/main/java/com/ruoyi/project/system/domain/SysUser.java index 8890b8d..65b4a66 100644 --- a/ruoyi/src/main/java/com/ruoyi/project/system/domain/SysUser.java +++ b/ruoyi/src/main/java/com/ruoyi/project/system/domain/SysUser.java @@ -7,6 +7,7 @@ import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import com.ruoyi.framework.aspectj.lang.annotation.Excel.ColumnType; @@ -196,6 +197,7 @@ public class SysUser extends BaseEntity { this.avatar = avatar; } + @JsonIgnore @JsonProperty public String getPassword()