com.tmsps.ne4springboot.annotation.NeTokenCheck Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ne4SpringBoot Show documentation
Show all versions of ne4SpringBoot Show documentation
NE For SpringBoot is good :)
The newest version!
package com.tmsps.ne4springboot.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @ClassName: NeTokenCheck
* @Description: 防止重复提交的Token
* @author: zhangwei(Mr.z)[email protected] @date: 2024/02/19
* @Copyright: 行歌信息
*/
@Inherited
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface NeTokenCheck {
String value() default "value";
/**
* 防重复操作过期时间
*/
long expireSeconds() default 10;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy