1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| package com.dobbinsoft.fw.support.rate;
|
| import com.dobbinsoft.fw.core.annotation.HttpMethod;
|
| /**
| * ClassName: RateLimiterNone
| * Description: 完全不限流实现
| *
| * @author: e-weichaozheng
| * @date: 2021-04-13
| */
| public class RateLimiterNone implements RateLimiter {
|
| @Override
| public boolean acquire(String fullMethod, HttpMethod httpMethod, Long personId, String ip) {
| return true;
| }
|
| }
|
|