摘要: 在 Spring Boot 3.4.x 中,HttpSecurity 的 and() 方法已经被标记为过时,因此我们需要采用新的 Lambda 风格 API 来配置安全性。你可以将 exceptionHandling() 移到 HttpSecurity 的顶层配置中,而不是在 authorizeHt 阅读全文
posted @ 2025-05-29 08:45 张占岭 阅读(107) 评论(0) 推荐(0)