疯狂的狮子li
2021-07-13 55546dfc80bd2ec1be8786b19f53df4e1c1e44e5
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java
@@ -23,7 +23,7 @@
/**
 * 用户对象 sys_user
 *
 *
 * @author ruoyi
 */
@@ -73,11 +73,11 @@
    /** 用户头像 */
    private String avatar;
       /** 密码 */
    @JsonProperty
    /** 密码 */
    private String password;
    @JsonIgnore
    @JsonProperty
    public String getPassword() {
        return password;
    }
@@ -148,6 +148,10 @@
    @TableField(exist = false)
    private Long[] postIds;
   /** 角色ID */
   @TableField(exist = false)
   private Long roleId;
    public SysUser(Long userId)
    {
        this.userId = userId;