You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
434 B
20 lines
434 B
package com.project.operation.annotation;
|
|
|
|
import com.project.operation.domain.enums.ModuleEnum;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/**
|
|
* 自定义操作日志注解
|
|
*/
|
|
@Target({ElementType.METHOD})
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Documented
|
|
public @interface OperationLog {
|
|
//操作模块
|
|
String module() default "";
|
|
//操作
|
|
String action() default "";
|
|
//操作描述
|
|
String description() default "";
|
|
}
|
|
|