摘要: 02 - 从SpringSecurity中获取当前用户 一行搞定 SecurityContextHolder.getContext().getAuthentication().getPrincipal(); 这里自定义了一个UserDetailsImpl类实现UserDetails接口, 此时loa 阅读全文
posted @ 2025-02-23 17:28 LH寒酥 阅读(11) 评论(0) 推荐(0)