ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 前置通知 ~~~ 切入点方法执行之前执行 <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> ~~~