| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- package com.mangoo.rating.recommend.annotation;
- import com.mangoo.rating.recommend.enums.BusinessType;
- import com.mangoo.rating.recommend.enums.OperatorType;
- import java.lang.annotation.*;
- /**
- * 自定义接口调用日志注解
- *
- * @author lsz
- */
- @Target({ ElementType.PARAMETER, ElementType.METHOD })
- @Retention(RetentionPolicy.RUNTIME)
- @Documented
- public @interface ApiLog {
- /**
- * 模块
- */
- public String title() default "";
- /**
- * 功能
- */
- public BusinessType businessType() default BusinessType.OTHER;
- /**
- * 操作人类别
- */
- public OperatorType operatorType() default OperatorType.MOBILE;
- /**
- * 是否保存请求的参数
- */
- public boolean isSaveRequestData() default true;
- String indto() default "";
- }
|