chenrui
6 天以前 2382a47279b6ed520593539f73aa5e512b4f016e
src/main/java/com/ruoyi/framework/security/LoginUser.java
@@ -24,7 +24,7 @@
    /**
     * 部门ID
     */
    private Long deptId;
    private Long [] deptIds;
    /**
     * 用户唯一标识
@@ -86,18 +86,18 @@
        this.permissions = permissions;
    }
    public LoginUser(Long userId, Long deptId, SysUser user, Set<String> permissions)
    public LoginUser(Long userId, Long [] deptId, SysUser user, Set<String> permissions)
    {
        this.userId = userId;
        this.deptId = deptId;
        this.deptIds = deptId;
        this.user = user;
        this.permissions = permissions;
    }
    public LoginUser(Long userId, Long deptId, SysUser user,Integer tenantId, Set<String> permissions)
    public LoginUser(Long userId, Long [] deptIds, SysUser user,Integer tenantId, Set<String> permissions)
    {
        this.userId = userId;
        this.deptId = deptId;
        this.deptIds = deptIds;
        this.user = user;
        this.permissions = permissions;
        this.tenantId = tenantId;
@@ -113,14 +113,14 @@
        this.userId = userId;
    }
    public Long getDeptId()
    public Long [] getDeptIds()
    {
        return deptId;
        return deptIds;
    }
    public void setDeptId(Long deptId)
    public void setDeptId(Long [] deptIds)
    {
        this.deptId = deptId;
        this.deptIds = deptIds;
    }
    public String getToken()