package com.yeshi.fanli.util.annotation.integral;
|
|
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;
|
|
/**
|
* 金币获得频率控制
|
*
|
* @author Administrator
|
*
|
*/
|
@Documented
|
@Target(ElementType.METHOD)
|
@Inherited
|
@Retention(RetentionPolicy.RUNTIME)
|
public @interface IntegralGetFrequencyLimit {
|
String key();
|
|
// 时间 (s)默认时间为1800s
|
int time() default 30 * 60;
|
}
|