mirror of
https://github.com/chillzhuang/SpringBlade.git
synced 2024-12-22 17:19:23 +08:00
Update TokenUtil.java
setavatar
This commit is contained in:
parent
16cb17e6a2
commit
8fdc7c5e4c
@ -72,6 +72,7 @@ public class TokenUtil {
|
||||
authInfo.setOauthId(userInfo.getOauthId());
|
||||
authInfo.setAccount(user.getAccount());
|
||||
authInfo.setUserName(user.getRealName());
|
||||
authInfo.setAvatar(user.getAvatar());
|
||||
authInfo.setAuthority(Func.join(userInfo.getRoles()));
|
||||
authInfo.setAccessToken(accessToken.getToken());
|
||||
authInfo.setExpiresIn(accessToken.getExpire());
|
||||
|
Loading…
Reference in New Issue
Block a user