ludc
2023-03-28 bf12237f0cedf8c2a9f0fe298f457772790c7d86
Source/BladeX/blade-auth/src/main/java/org/springblade/auth/service/BladeUserDetails.java
@@ -79,6 +79,28 @@
    * 用户详情
    */
   private final Kv detail;
   /**
    * 密码策略修改状态
    */
   private Long strategyUpdateStatus;
   public BladeUserDetails(Long userId, String tenantId, String oauthId, String name, String realName, String deptId, String postId, String roleId, String roleName, String avatar, String username, String password, Kv detail, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends GrantedAuthority> authorities,Long strategyUpdateStatus) {
      super(username, password, enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, authorities);
      this.userId = userId;
      this.tenantId = tenantId;
      this.oauthId = oauthId;
      this.name = name;
      this.realName = realName;
      this.account = username;
      this.deptId = deptId;
      this.postId = postId;
      this.roleId = roleId;
      this.roleName = roleName;
      this.avatar = avatar;
      this.detail = detail;
      this.strategyUpdateStatus = strategyUpdateStatus;
   }
   public BladeUserDetails(Long userId, String tenantId, String oauthId, String name, String realName, String deptId, String postId, String roleId, String roleName, String avatar, String username, String password, Kv detail, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends GrantedAuthority> authorities) {
      super(username, password, enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, authorities);