提交 2b544b74 编写于 作者: budgerigar's avatar budgerigar

返回前端数据去除密码与盐

上级 ac891d81
...@@ -4,6 +4,7 @@ import java.util.Date; ...@@ -4,6 +4,7 @@ import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.jeecg.common.aspect.annotation.Dict; import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel; import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
...@@ -54,13 +55,13 @@ public class SysUser implements Serializable { ...@@ -54,13 +55,13 @@ public class SysUser implements Serializable {
/** /**
* 密码 * 密码
*/ */
@JsonIgnore @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String password; private String password;
/** /**
* md5密码盐 * md5密码盐
*/ */
@JsonIgnore @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
private String salt; private String salt;
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册