|
|
|
|
@ -49,7 +49,7 @@ public class CaptchaConfig
|
|
|
|
|
DefaultKaptcha defaultKaptcha = new DefaultKaptcha();
|
|
|
|
|
Properties properties = new Properties();
|
|
|
|
|
// 是否有边框 默认为true 我们可以自己设置yes,no
|
|
|
|
|
properties.setProperty(KAPTCHA_BORDER, "yes");
|
|
|
|
|
properties.setProperty(KAPTCHA_BORDER, "no");
|
|
|
|
|
// 边框颜色 默认为Color.BLACK
|
|
|
|
|
properties.setProperty(KAPTCHA_BORDER_COLOR, "105,179,90");
|
|
|
|
|
// 验证码文本字符颜色 默认为Color.BLACK
|
|
|
|
|
|