Skip to content

Commit f4da580

Browse files
authored
更新 XXL-TOOL官方文档.md
1 parent 7ba98de commit f4da580

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/XXL-TOOL官方文档.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ ImageIO.write(image, "png", response.getOutputStream());
780780
// 字符验证码,默认
781781
CaptchaTool captchaTool = CaptchaTool.build();
782782
// 字符验证码,自定义长度
783-
CaptchaTool captchaTool = CaptchaTool.build().setTextCreator(new CaptchaTool.ArithmeticTextCreator());
783+
CaptchaTool captchaTool = CaptchaTool.build().setTextCreator(new CaptchaTool.DefaultTextCreator(6));
784784
// 字符验证码,中文汉字
785785
CaptchaTool captchaTool = CaptchaTool.build().setTextCreator(new CaptchaTool.DefaultTextCreator("物华天宝人杰地灵山清水秀景色宜人"));
786786
// 算式验证码

0 commit comments

Comments
 (0)