com.gitee.fufu669.aspect.CheckOrderBy Maven / Gradle / Ivy
package com.gitee.fufu669.aspect;
import com.gitee.fufu669.common.CacheKeyCommon;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author wangfupeng
* 检查orderBy里是否有敏感黑客查询
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface CheckOrderBy {
/*在打印日志时会出现的提示*/
String description() default "";
}