All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tmsps.ne4springboot.annotation.NeTokenCheck Maven / Gradle / Ivy

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