Files
gxtyzx-java/modules/common/core/annotation/OperationLog.java
T
2024-08-13 17:51:18 +08:00

42 lines
650 B
Java

package com.gxwebsoft.common.core.annotation;
import java.lang.annotation.*;
/**
* 操作日志记录注解
*
* @author WebSoft
* @since 2020-03-21 17:03:08
*/
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLog {
/**
* 操作功能
*/
String value() default "";
/**
* 操作模块
*/
String module() default "";
/**
* 备注
*/
String comments() default "";
/**
* 是否记录请求参数
*/
boolean param() default true;
/**
* 是否记录返回结果
*/
boolean result() default true;
}