摘要: @Aspect的使用配置 要启用 Spring AOP 和 @Aspect 注解,需要在 Spring 配置中启用 AspectJ 自动代理,但是在 Spring Boot 中,通常不需要显式地添加 @EnableAspectJAutoProxy,因为 Spring Boot 的自动配置特性已经包含 阅读全文
posted @ 2025-03-18 14:28 hanease 阅读(473) 评论(0) 推荐(0)