mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 02:08:15 +08:00
feat: 新增登录助手获取用户昵称方法
This commit is contained in:
parent
67ab7a04ad
commit
8e5a149dec
@ -136,6 +136,11 @@ public class LoginHelper {
|
||||
return getLoginUser().getUsername();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户昵称
|
||||
*/
|
||||
public static String getNickname() {return getLoginUser().getNickname();}
|
||||
|
||||
/**
|
||||
* 获取用户类型
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user