//SecurityUtils.getSubject().getPrincipal(); 就可以获取了
protected User getCurrentUser(){
return (User) SecurityUtils.getSubject().getPrincipal();
}
标签:prot subject bsp current ipa ret turn ali pos
//SecurityUtils.getSubject().getPrincipal(); 就可以获取了
protected User getCurrentUser(){
return (User) SecurityUtils.getSubject().getPrincipal();
}
标签:prot subject bsp current ipa ret turn ali pos
原文地址:https://www.cnblogs.com/Amos-Turing/p/8725165.html