|
@@ -0,0 +1,22 @@
|
|
|
+package com.xt.js.gkaq.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.xt.js.gkaq.common.Constants;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 系统日志自定义注解<br>
|
|
|
+ * 作用于方法上
|
|
|
+ */
|
|
|
+@Target({ ElementType.METHOD })
|
|
|
+@Retention(RetentionPolicy.RUNTIME)
|
|
|
+@Documented
|
|
|
+public @interface SysLog {
|
|
|
+
|
|
|
+ String type() default Constants.LOG_TYPE_0;
|
|
|
+ String description() default "";
|
|
|
+}
|