admin
2021-01-18 d6df4ca797ee1c6ce8fa78768f5425f187734bd9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.ks.lucky.util.annotation;
 
import java.lang.annotation.*;
 
@Documented
@Target(ElementType.METHOD)
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisCache {
    String key();
    //分类
    String cate();
    //默认1分钟
    int second() default 60;
}