springboot
spring-boot学习记录
springboot中如何使用注解来实现aop
1、自定义注解 通常情况下,自定义注解都是定义在 domain 包下的 annotation 包下。首先创建一个注解: @Target(ElementType.METHOD) //定义注解的使用范围为方法 @Retention(RetentionPolicy.RUNTIME ) @Documen
springboot
spring-boot学习记录
springboot中如何使用注解来实现aop
1、自定义注解 通常情况下,自定义注解都是定义在 domain 包下的 annotation 包下。首先创建一个注解: @Target(ElementType.METHOD) //定义注解的使用范围为方法 @Retention(RetentionPolicy.RUNTIME ) @Documen