yj
2021-05-07 788b776c5ecffe9989b57eb17fd1eb9ca4cf5f0d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.ks.vip.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;
}