spring使用AOP和自定義註解功能添加日誌管理--實用

1、首先創建註解Log類: @Target({ElementType.PARAMETER, ElementType.METHOD})   @Retention(RetentionPolicy.RUNTIME)   @Documented   public @interface Log { public String operationType() default "";   public Stri
相關文章
相關標籤/搜索