
com.nxyfan.framework.common.annotation.CommonNoRepeat Maven / Gradle / Ivy
package com.nxyfan.framework.common.annotation;
import java.lang.annotation.*;
/**
* 自定义节流防抖注解
*
* @author amour
* @date 2022/6/20 14:25
**/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CommonNoRepeat {
/**
* 间隔时间(ms),小于此时间视为重复提交,默认5000ms
*/
int interval() default 5000;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy