提交 ab926872 编写于 作者: lakernote's avatar lakernote

(新增)[整体](添加favicon.ico)

上级 6ebfb3fb
...@@ -39,7 +39,7 @@ public class IndexController { ...@@ -39,7 +39,7 @@ public class IndexController {
// ChineseGifCaptcha specCaptcha = new ChineseGifCaptcha(130, 48, 4); // ChineseGifCaptcha specCaptcha = new ChineseGifCaptcha(130, 48, 4);
ArithmeticCaptcha captcha = new ArithmeticCaptcha(130, 48); ArithmeticCaptcha captcha = new ArithmeticCaptcha(130, 48);
// 几位数运算,默认是两位 // 几位数运算,默认是两位
captcha.setLen(3); captcha.setLen(2);
captcha.getArithmeticString(); // 获取运算的公式:3+2=? captcha.getArithmeticString(); // 获取运算的公式:3+2=?
captcha.text(); // 获取运算的结果:5 captcha.text(); // 获取运算的结果:5
String verCode = captcha.text().toLowerCase(); String verCode = captcha.text().toLowerCase();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册