正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -7,6 +7,7 @@ import javax.validation.constraints.NotBlank; | @@ -7,6 +7,7 @@ import javax.validation.constraints.NotBlank; | ||
| 7 | import javax.validation.constraints.Size; | 7 | import javax.validation.constraints.Size; |
| 8 | import org.apache.commons.lang3.builder.ToStringBuilder; | 8 | import org.apache.commons.lang3.builder.ToStringBuilder; |
| 9 | import org.apache.commons.lang3.builder.ToStringStyle; | 9 | import org.apache.commons.lang3.builder.ToStringStyle; |
| 10 | +import com.fasterxml.jackson.annotation.JsonIgnore; | ||
| 10 | import com.fasterxml.jackson.annotation.JsonProperty; | 11 | import com.fasterxml.jackson.annotation.JsonProperty; |
| 11 | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 12 | import com.ruoyi.framework.aspectj.lang.annotation.Excel; |
| 12 | import com.ruoyi.framework.aspectj.lang.annotation.Excel.ColumnType; | 13 | import com.ruoyi.framework.aspectj.lang.annotation.Excel.ColumnType; |
| @@ -196,6 +197,7 @@ public class SysUser extends BaseEntity | @@ -196,6 +197,7 @@ public class SysUser extends BaseEntity | ||
| 196 | { | 197 | { |
| 197 | this.avatar = avatar; | 198 | this.avatar = avatar; |
| 198 | } | 199 | } |
| 200 | + | ||
| 199 | @JsonIgnore | 201 | @JsonIgnore |
| 200 | @JsonProperty | 202 | @JsonProperty |
| 201 | public String getPassword() | 203 | public String getPassword() |
-
请 注册 或 登录 后发表评论