Spring Boot集成AOP簡單例子

1.在pom.xml中添加aop依賴 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> 2.配置AOP @Configuration @Aspec
相關文章
相關標籤/搜索