小程序扫码门禁端显示详情
This commit is contained in:
@@ -43,7 +43,7 @@ spring:
|
||||
filters: # 路由过滤器,使用自定义的限流过滤器工厂
|
||||
- name: RateLimitByIp # 设置每秒允许5个请求,每次请求需要1个令牌
|
||||
args:
|
||||
rate: 5.0
|
||||
rate: 10.0
|
||||
permits: 1
|
||||
|
||||
- id: access
|
||||
@@ -54,7 +54,7 @@ spring:
|
||||
filters: # 路由过滤器,使用自定义的限流过滤器工厂
|
||||
- name: RateLimitByIp # 设置每秒允许5个请求,每次请求需要1个令牌
|
||||
args:
|
||||
rate: 5.0
|
||||
rate: 10.0
|
||||
permits: 1
|
||||
|
||||
- id: access-websocket
|
||||
@@ -70,7 +70,7 @@ spring:
|
||||
filters: # 路由过滤器,使用自定义的限流过滤器工厂
|
||||
- name: RateLimitByIp # 设置每秒允许5个请求,每次请求需要1个令牌
|
||||
args:
|
||||
rate: 5.0
|
||||
rate: 10.0
|
||||
permits: 1
|
||||
|
||||
- id: test1
|
||||
|
Reference in New Issue
Block a user