mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
优化行为验证码配置
This commit is contained in:
parent
414671e881
commit
6b2fbdf8c1
@ -75,18 +75,18 @@ aj:
|
|||||||
cache-number: 1000
|
cache-number: 1000
|
||||||
# local定时清除过期缓存(单位秒),设置为0代表不执行
|
# local定时清除过期缓存(单位秒),设置为0代表不执行
|
||||||
timing-clear: 180
|
timing-clear: 180
|
||||||
# 验证码类型default两种都实例化。
|
# 验证码类型 default两种都实例化。 blockPuzzle 滑块拼图 clickWord 文字点选
|
||||||
type: default
|
type: blockPuzzle
|
||||||
# 右下角水印文字(我的水印)https://tool.chinaz.com/tools/unicode.aspx 中文转Unicode
|
# 右下角水印文字(我的水印)https://tool.chinaz.com/tools/unicode.aspx 中文转Unicode Linux可能需要转unicode
|
||||||
water-mark: 芋道源码
|
water-mark: 芋道源码
|
||||||
# 滑动干扰项(0/1/2)
|
# 滑动干扰项(0/1/2)
|
||||||
interference-options: 2
|
interference-options: 2
|
||||||
# 接口请求次数一分钟限制是否开启 true|false
|
# 接口请求次数一分钟限制是否开启 true|false
|
||||||
req-frequency-limit-enable: false
|
req-frequency-limit-enable: true
|
||||||
# 验证失败5次,get接口锁定
|
# 验证失败5次,get接口锁定
|
||||||
req-get-lock-limit: 5
|
req-get-lock-limit: 5
|
||||||
# 验证失败后,锁定时间间隔,s
|
# 验证失败后,锁定时间间隔,s
|
||||||
req-get-lock-seconds: 360
|
req-get-lock-seconds: 10
|
||||||
# get接口一分钟内请求数限制
|
# get接口一分钟内请求数限制
|
||||||
req-get-minute-limit: 30
|
req-get-minute-limit: 30
|
||||||
# check接口一分钟内请求数限制
|
# check接口一分钟内请求数限制
|
||||||
|
Loading…
Reference in New Issue
Block a user