mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-03-07 23:31:09 +08:00
update 修改验证码默认样式
This commit is contained in:
@@ -21,7 +21,7 @@ captcha:
|
|||||||
# 验证码类型 math 数组计算 char 字符验证
|
# 验证码类型 math 数组计算 char 字符验证
|
||||||
type: MATH
|
type: MATH
|
||||||
# line 线段干扰 circle 圆圈干扰 shear 扭曲干扰
|
# line 线段干扰 circle 圆圈干扰 shear 扭曲干扰
|
||||||
category: CIRCLE
|
category: SHEAR
|
||||||
# 数字验证码位数
|
# 数字验证码位数
|
||||||
numberLength: 1
|
numberLength: 1
|
||||||
# 字符验证码长度
|
# 字符验证码长度
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ public class CaptchaConfig {
|
|||||||
|
|
||||||
private static final int WIDTH = 160;
|
private static final int WIDTH = 160;
|
||||||
private static final int HEIGHT = 60;
|
private static final int HEIGHT = 60;
|
||||||
private static final Color BACKGROUND = Color.LIGHT_GRAY;
|
private static final Color BACKGROUND = Color.WHITE;
|
||||||
private static final Font FONT = new Font("Arial", Font.BOLD, 48);
|
private static final Font FONT = new Font("Arial", Font.BOLD, 48);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user