获取用户登录的身份信息
SpringSecurity+JWT做权限认证的时候, @PreAuthorize("@el.check(‘system:user:query’)")
调用这个方法 SecurityContextHolder.getContext().getAuthentication().getPrincipal()
返回用户登录的身份信息
SpringSecurity+JWT做权限认证的时候, @PreAuthorize("@el.check(‘system:user:query’)")
调用这个方法 SecurityContextHolder.getContext().getAuthentication().getPrincipal()
返回用户登录的身份信息