From ac891d81ab6c462d13c18b4611a6940da1e3c6c7 Mon Sep 17 00:00:00 2001 From: Hugh Gao Date: Mon, 21 Oct 2019 14:49:17 +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 --- .../src/main/java/org/jeecg/modules/system/entity/SysUser.java | 3 +++ 1 file changed, 3 insertions(+) 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 3c3214d..68c21b1 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 @@ -3,6 +3,7 @@ package org.jeecg.modules.system.entity; import java.util.Date; import com.baomidou.mybatisplus.annotation.TableLogic; +import com.fasterxml.jackson.annotation.JsonIgnore; import org.jeecg.common.aspect.annotation.Dict; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; @@ -53,11 +54,13 @@ public class SysUser implements Serializable { /** * 密码 */ + @JsonIgnore private String password; /** * md5密码盐 */ + @JsonIgnore private String salt; /** -- GitLab