master
parent
ba9152bf7d
commit
469edb9b3e
|
|
@ -3,7 +3,6 @@ package com.boot.security.server.model;
|
|||
import java.util.Date;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
|
@ -16,8 +15,6 @@ public class SysUser extends BaseEntity<Long> {
|
|||
|
||||
private String username;
|
||||
private String password;
|
||||
@JsonIgnore
|
||||
private String salt;
|
||||
private String nickname;
|
||||
private String headImgUrl;
|
||||
private String phone;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public class UserDetailsServiceImpl implements UserDetailsService {
|
|||
throw new DisabledException("用户已作废");
|
||||
}
|
||||
|
||||
Set<GrantedAuthority> authorities = new HashSet<>();
|
||||
Set<GrantedAuthority> authorities = new HashSet<>();// TODO
|
||||
GrantedAuthority grantedAuthority = new SimpleGrantedAuthority("rrr");
|
||||
authorities.add(grantedAuthority);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue