From a68788bdba7f52bf632f46fc56ec27a7faf6bb95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Tue, 25 Oct 2022 07:51:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96IP=E9=99=90=E6=B5=81=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Admin.WebApi/appsettings.json | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/ZR.Admin.WebApi/appsettings.json b/ZR.Admin.WebApi/appsettings.json index 0d35c85..c1356d6 100644 --- a/ZR.Admin.WebApi/appsettings.json +++ b/ZR.Admin.WebApi/appsettings.json @@ -88,14 +88,7 @@ "Limit": 5 }, { - "Endpoint": "post:*", - //时间段,格式:{数字}{单位};可使用单位:s, m, h, d - "Period": "3s", - "Limit": 1 - }, - { - "Endpoint": "put:*", - //时间段,格式:{数字}{单位};可使用单位:s, m, h, d + "Endpoint": "((post)|(put)):*", "Period": "3s", "Limit": 1 } @@ -108,6 +101,6 @@ }, //验证码配置 "CaptchaOptions": { - "length": 4 + "length": 4//验证码长度 } }