mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
refactor(CaptchaHandler): 重命名验证码handler和router
This commit is contained in:
parent
c73ff3265f
commit
87bc54fd38
@ -1,4 +1,4 @@
|
||||
package com.youlai.gateway.kaptcha.handler;
|
||||
package com.youlai.gateway.kaptcha;
|
||||
|
||||
import com.google.code.kaptcha.text.impl.DefaultTextCreator;
|
||||
|
@ -35,7 +35,7 @@ public class CaptchaConfig {
|
||||
// KAPTCHA_SESSION_KEY
|
||||
properties.setProperty("kaptcha.session.key", "kaptchaCodeMath");
|
||||
// 验证码文本生成器
|
||||
properties.setProperty("kaptcha.textproducer.impl", "com.youlai.gateway.kaptcha.handler.KaptchaTextCreator");
|
||||
properties.setProperty("kaptcha.textproducer.impl", "com.youlai.gateway.kaptcha.KaptchaTextCreator");
|
||||
// 验证码文本字符间距 默认为2
|
||||
properties.setProperty("kaptcha.textproducer.char.space", "3");
|
||||
// 验证码文本字符长度 默认为5
|
||||
|
Loading…
Reference in New Issue
Block a user