摘要:
目标:创建自定义注解,实现切面编程 首先在pom文件加入: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> 阅读全文
摘要:
@RunWith(SpringRunner.class) @SpringBootTest(classes = DemoApplication.class)//加载启动类 public class TestAnnotation { @Autowired private AnnontationServiceTestImpl a; @Test public ... 阅读全文