update SQL

This commit is contained in:
2023-12-22 15:45:31 +08:00
parent 7d3f10a7dc
commit 8532364cb9
2 changed files with 27 additions and 17 deletions

View File

@@ -17,7 +17,7 @@ public class RandomValidateCode {
private Random random = new Random();
private String randString = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";//随机产生的字符串
private int width = 80;// 图片宽度
private int height = 26;// 图片高度
private int height = 36;// 图片高度
private int lineSize = 40;// 干扰线数量
private int stringNum = 4;// 随机产生的字符数量
@@ -25,7 +25,7 @@ public class RandomValidateCode {
* 获得字体
*/
private Font getFont() {
return new Font("Fixedsys", Font.CENTER_BASELINE, 18);
return new Font("Fixedsys", Font.CENTER_BASELINE, 20);
}
/**