From e7e078643ceef797dc0ea7827d19b76513e8b992 Mon Sep 17 00:00:00 2001 From: weiweiw <14335254+weiweiw22@user.noreply.gitee.com> Date: Thu, 4 Jul 2024 09:06:29 +0800 Subject: [PATCH] replace Log.java with SysLog.java --- .../com/bonus/common/log/annotation/Log.java | 51 ------------------- 1 file changed, 51 deletions(-) delete mode 100644 bonus-common/bonus-common-log/src/main/java/com/bonus/common/log/annotation/Log.java diff --git a/bonus-common/bonus-common-log/src/main/java/com/bonus/common/log/annotation/Log.java b/bonus-common/bonus-common-log/src/main/java/com/bonus/common/log/annotation/Log.java deleted file mode 100644 index f9a0864..0000000 --- a/bonus-common/bonus-common-log/src/main/java/com/bonus/common/log/annotation/Log.java +++ /dev/null @@ -1,51 +0,0 @@ -package com.bonus.common.log.annotation; - -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import com.bonus.common.log.enums.BusinessType; -import com.bonus.common.log.enums.OperatorType; - -/** - * 自定义操作日志记录注解 - * - * @author bonus - * - */ -@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 {}; -}