Merge branch 'master' into registry-nacos

This commit is contained in:
tanghc
2019-07-10 17:38:34 +08:00
12 changed files with 73 additions and 182 deletions

View File

@@ -8,26 +8,11 @@ import lombok.Data;
@Data
public class RouteConfigDto {
/**
* 路由id
*/
private String routeId;
/** 限流策略1漏桶策略2令牌桶策略, 数据库字段limit_type */
private Byte limitType;
/** 每秒可处理请求数, 数据库字段exec_count_per_second */
private Integer execCountPerSecond;
/** 返回的错误码, 数据库字段limit_code */
private String limitCode;
/** 返回的错误信息, 数据库字段limit_msg */
private String limitMsg;
/** 令牌桶容量, 数据库字段token_bucket_count */
private Integer tokenBucketCount;
/** 限流开启状态1:开启0关闭, 数据库字段limit_status */
private Byte limitStatus;
/**
* 状态0待审核1启用2禁用
*/