Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
c0cd2f61
Commit
c0cd2f61
authored
Feb 17, 2020
by
RuoYi
Browse files
返回参数忽略密码字段
parent
c0ca2f83
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi/src/main/java/com/ruoyi/project/system/domain/SysUser.java
View file @
c0cd2f61
...
...
@@ -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.ruoyi.framework.aspectj.lang.annotation.Excel
;
import
com.ruoyi.framework.aspectj.lang.annotation.Excel.ColumnType
;
import
com.ruoyi.framework.aspectj.lang.annotation.Excel.Type
;
...
...
@@ -196,6 +197,7 @@ public class SysUser extends BaseEntity
this
.
avatar
=
avatar
;
}
@JsonIgnore
public
String
getPassword
()
{
return
password
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment