zwzw1219 2017-10-14 18:09:40 +08:00
parent ba9152bf7d
commit 469edb9b3e
2 changed files with 1 additions and 4 deletions

View File

@ -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;

View File

@ -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);