From 3c4fee1db116c11d4f04727cfe076d7c94daeaf2 Mon Sep 17 00:00:00 2001 From: yanzhaofeige <yanzhaofeige@qq.com> Date: Mon, 30 Sep 2024 12:10:57 +0800 Subject: [PATCH] init --- cpzidc-common/src/main/java/com/odcc/cpzidc/common/enums/LimitType.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/cpzidc-common/src/main/java/com/odcc/cpzidc/common/enums/LimitType.java b/cpzidc-common/src/main/java/com/odcc/cpzidc/common/enums/LimitType.java new file mode 100644 index 0000000..483f853 --- /dev/null +++ b/cpzidc-common/src/main/java/com/odcc/cpzidc/common/enums/LimitType.java @@ -0,0 +1,20 @@ +package com.odcc.cpzidc.common.enums; + +/** + * 限流类型 + * + * @author ruoyi + */ + +public enum LimitType +{ + /** + * 默认策略全局限流 + */ + DEFAULT, + + /** + * 根据请求者IP进行限流 + */ + IP +} -- Gitblit v1.9.3