first commit
This commit is contained in:
@ -60,13 +60,14 @@ public class LoginUser implements UserDetails {
|
||||
public LoginUser() {
|
||||
}
|
||||
|
||||
public LoginUser(String userId, String deptId, String username, String nickname, List<String> roleKeys, Set<String> permissions) {
|
||||
public LoginUser(String userId, String deptId, String username, String nickname, List<RoleDto> roles, List<String> roleKeys, Set<String> permissions) {
|
||||
this.userId = userId;
|
||||
this.deptId = deptId;
|
||||
this.username = username;
|
||||
this.permissions = permissions;
|
||||
this.nickname = nickname;
|
||||
this.roleKeys = roleKeys;
|
||||
this.roles = roles;
|
||||
}
|
||||
|
||||
public List<RoleDto> getRoles() {
|
||||
|
Reference in New Issue
Block a user