https://blog.csdn.net/bombSKLK/article/details/79143145

示例

拦截的 注解的方法

    @Around("@annotation(com.audi.config.aop.MyCacheable) && args(com.audi.service.lw.net.ContextInterfaceType,java.util.Map<String,Object>,String)")
    public String doAround_Interface(ProceedingJoinPoint aopData) throws Throwable { }

拦截:

  1. 标注了 MyCacheable 注释的方法.
  2. 方法具有三个参数, 第一个参数类型是ContextInterfaceType , 第二个参数类型是 Map<String,Object>,第三个参数是 String

拦截注解的类.


相关文章:

  • 2021-10-12
  • 2021-08-22
  • 2021-07-21
  • 2021-08-11
  • 2021-10-08
  • 2021-12-19
  • 2022-02-25
猜你喜欢
  • 2022-01-07
  • 2021-05-15
  • 2022-01-19
  • 2022-02-15
  • 2021-04-20
  • 2022-12-23
相关资源
相似解决方案