docs:添加功能描述
This commit is contained in:
parent
f03fbb3332
commit
30b6456b76
@ -127,6 +127,11 @@ public class SecurityUtils {
|
||||
return jwt.getPayload("sub").toString();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取当前系统用户类型
|
||||
* @return 系统用户类型
|
||||
*/
|
||||
public static UserTypeEnum getCurrentUserType(){
|
||||
UserDetails userDetails = getCurrentUser();
|
||||
// 将 Java 对象转换为 JSONObject 对象
|
||||
|
Loading…
Reference in New Issue
Block a user