Skip to content

Commit 1745ac8

Browse files
committed
增加demo模块,实现联调;
优化代码结构;
1 parent f4ffe3f commit 1745ac8

29 files changed

+737
-664
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ spring:
4949
host:
5050
port:
5151
password:
52-
pool:
53-
max-active: 8
54-
max-wait: 1
55-
max-idle: 8
56-
min-idle: 0
5752
timeout: 2000
5853
```
5954
#### 2. Spring应用
@@ -127,6 +122,13 @@ public @interface CurrentLimit {
127122
* 设置限流类型。默认值:LOCAL
128123
*/
129124
LimitTypeEnum limitType() default LimitTypeEnum.LOCAL;
125+
126+
/**
127+
* 设置在类上设置注解限流模式,当为ElementType.TYPE时有效
128+
*
129+
* @return 在类上设置注解限流模式
130+
*/
131+
TypeLimitModelEnum typeLimitModel() default TypeLimitModelEnum.EACH;
130132
}
131133
```
132134
来几个使用的例子吧<br>

mvnw

Lines changed: 0 additions & 310 deletions
This file was deleted.

0 commit comments

Comments
 (0)