refactor(CaptchaHandler): 重命名验证码handler和router

This commit is contained in:
有来技术 2021-10-10 17:11:18 +08:00
parent c73ff3265f
commit 87bc54fd38
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
package com.youlai.gateway.kaptcha.handler;
package com.youlai.gateway.kaptcha;
import com.google.code.kaptcha.text.impl.DefaultTextCreator;

View File

@ -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