admin
2022-08-25 c9db68e33f90231b064b8864fc69ccf7d25f5e0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.ks.lijin.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;
}