yujian
2020-04-26 ee1d39f11b9483b64a88029f1755a6e7166fea15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
}