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
26
27
28
29
30
31
32
33
34
35
36
| package org.jeecg.boot.starter.lock.annotation;
|
| /**
| * @author zyf
| */
|
| import java.lang.annotation.*;
|
| /**
| * 防止重复提交的注解
| *
| * @author 2019年6月18日
| */
| @Retention(RetentionPolicy.RUNTIME)
| @Target({ElementType.METHOD})
| @Documented
| public @interface JRepeat {
|
| /**
| * 超时时间
| *
| * @return
| */
| int lockTime();
|
|
| /**
| * redis 锁key的
| *
| * @return redis 锁key
| */
| String lockKey() default "";
|
|
|
| }
|
|