1.代客下单相关接口
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package com.chaozhanggui.system.cashierservice.annotation;
|
||||
|
||||
|
||||
|
||||
import com.chaozhanggui.system.cashierservice.bean.*;
|
||||
|
||||
import java.lang.annotation.*;
|
||||
|
||||
/**
|
||||
* 日志注解
|
||||
*/
|
||||
@Target(ElementType.METHOD)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
public @interface MyLog {
|
||||
String value() default "未命名日志";
|
||||
LogTag tag();
|
||||
OperationLogType operationLogType() default OperationLogType.NULL;
|
||||
boolean write() default false;
|
||||
GetKeyWith getKeyWith() default GetKeyWith.WITH_NULL;
|
||||
String keyName() default "";
|
||||
OperationLogState operationLogstate() default OperationLogState.UN_HTTP_STATE;
|
||||
ActionType actionType() default ActionType.SELECT;
|
||||
LogType type() default LogType.INFO;
|
||||
boolean showBody() default false;
|
||||
}
|
||||
Reference in New Issue
Block a user