🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### 前置通知 ~~~ 切入点方法执行之前执行 <aop:before method="beforePrintLog" pointcut="execution(* com.test.service.impl.*.*(..))"></aop:before> ~~~ ### 后置通知 ~~~ 切入点方法正常执行执行之后 <aop:after-returning method="afterReturingPrintLog" pointcut="execution(* com.test.service.impl.*.*(..))"></aop:after-returning> ~~~ ### 异常通知 ~~~ 切入点方法产生异常 <aop:after-throwing method="exceptionPrintLog" pointcut="execution(* com.test.service.impl.*.*(..))"></aop:after-throwing> ~~~ ### 最终通知 ~~~ 切入点是否正常执行都会在其后执行 <aop:after method="afterPrintLog" pointcut="execution(* com.test.service.impl.*.*(..))"></aop:after> ~~~