From 6b2fbdf8c1db18609b301f1e7e8fb8427aa85c84 Mon Sep 17 00:00:00 2001 From: xingyu Date: Tue, 2 Aug 2022 17:17:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=A1=8C=E4=B8=BA=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=A0=81=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-server/src/main/resources/application.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yudao-server/src/main/resources/application.yaml b/yudao-server/src/main/resources/application.yaml index 06a66388e..e510a68ca 100644 --- a/yudao-server/src/main/resources/application.yaml +++ b/yudao-server/src/main/resources/application.yaml @@ -75,18 +75,18 @@ aj: cache-number: 1000 # local定时清除过期缓存(单位秒),设置为0代表不执行 timing-clear: 180 - # 验证码类型default两种都实例化。 - type: default - # 右下角水印文字(我的水印)https://tool.chinaz.com/tools/unicode.aspx 中文转Unicode + # 验证码类型 default两种都实例化。 blockPuzzle 滑块拼图 clickWord 文字点选 + type: blockPuzzle + # 右下角水印文字(我的水印)https://tool.chinaz.com/tools/unicode.aspx 中文转Unicode Linux可能需要转unicode water-mark: 芋道源码 # 滑动干扰项(0/1/2) interference-options: 2 # 接口请求次数一分钟限制是否开启 true|false - req-frequency-limit-enable: false + req-frequency-limit-enable: true # 验证失败5次,get接口锁定 req-get-lock-limit: 5 # 验证失败后,锁定时间间隔,s - req-get-lock-seconds: 360 + req-get-lock-seconds: 10 # get接口一分钟内请求数限制 req-get-minute-limit: 30 # check接口一分钟内请求数限制