Commit b57c1ef9 authored by 技术部-任文超's avatar 技术部-任文超

优化

parent 741e1f14
...@@ -52,8 +52,8 @@ public class UserRet implements Serializable { ...@@ -52,8 +52,8 @@ public class UserRet implements Serializable {
this.setId(user.getId()); this.setId(user.getId());
this.setPhoneNo(user.getPhoneNo()); this.setPhoneNo(user.getPhoneNo());
this.setEnable(user.getEnable()); this.setEnable(user.getEnable());
this.setPassword(StringUtils.isBlank(user.getPassword()) ? "" : "*"); this.setPassword(null);
this.hasPassword = Objects.nonNull(password) && !Objects.equals("", password); this.hasPassword = Objects.nonNull(user.getPassword()) && !Objects.equals("", user.getPassword());
this.setRegisteredFrom(user.getRegisteredFrom()); this.setRegisteredFrom(user.getRegisteredFrom());
this.setUuid(user.getUuid()); this.setUuid(user.getUuid());
this.setCreatedAt(createTimeStamp); this.setCreatedAt(createTimeStamp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment