1、日志切面编码
parent
13eb93bb0a
commit
0048b28dd3
@ -0,0 +1,27 @@
|
||||
package com.sztzjy.forex.trading_trading.annotation;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
/**
|
||||
* 系统日志
|
||||
*
|
||||
*
|
||||
* 2023年6月21日
|
||||
*/
|
||||
@Target(ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
public @interface OperateLog {
|
||||
/**
|
||||
* 记录参数
|
||||
*
|
||||
* @return 是否记录参数
|
||||
*/
|
||||
boolean recordParameters() default true;
|
||||
|
||||
/**
|
||||
* 接口描述
|
||||
* @return 操作描述
|
||||
*/
|
||||
String description() default "";
|
||||
}
|
Loading…
Reference in New Issue