1.shiro获取当前登陆用户 SysUserEntity user = (SysUserEntity) SecurityUtils.getSubject().getPrincipal(); 来源:CSDN作者:hqlai1234链接:https://blog.csdn.net/hqlai1234/article/details/103770586 标签 shiro