game-api/ff-game/src/main/java/com/ff/base/annotation/Log.java

49 lines
927 B
Java
Raw Normal View History

2025-02-11 15:27:15 +08:00
package com.ff.base.annotation;
import com.ff.base.enums.BusinessType;
import com.ff.base.enums.OperatorType;
import java.lang.annotation.*;
/**
*
*
* @author ff
*
*/
@Target({ ElementType.PARAMETER, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log
{
/**
*
*/
public String title() default "";
/**
*
*/
public BusinessType businessType() default BusinessType.OTHER;
/**
*
*/
public OperatorType operatorType() default OperatorType.MANAGE;
/**
*
*/
public boolean isSaveRequestData() default true;
/**
*
*/
public boolean isSaveResponseData() default true;
/**
*
*/
public String[] excludeParamNames() default {};
}