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

pull/647/head
Hugh Gao 2019-10-21 16:50:25 +08:00
parent ac891d81ab
commit 2b544b74f7
1 changed files with 3 additions and 2 deletions

View File

@ -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 {
/** /**
* *
*/ */
@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;
/** /**