mirror of
https://github.com/chillzhuang/SpringBlade.git
synced 2024-11-22 10:29:25 +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.setOauthId(userInfo.getOauthId());
|
||||||
authInfo.setAccount(user.getAccount());
|
authInfo.setAccount(user.getAccount());
|
||||||
authInfo.setUserName(user.getRealName());
|
authInfo.setUserName(user.getRealName());
|
||||||
|
authInfo.setAvatar(user.getAvatar());
|
||||||
authInfo.setAuthority(Func.join(userInfo.getRoles()));
|
authInfo.setAuthority(Func.join(userInfo.getRoles()));
|
||||||
authInfo.setAccessToken(accessToken.getToken());
|
authInfo.setAccessToken(accessToken.getToken());
|
||||||
authInfo.setExpiresIn(accessToken.getExpire());
|
authInfo.setExpiresIn(accessToken.getExpire());
|
||||||
|
Loading…
Reference in New Issue
Block a user