Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
looly committed Mar 17, 2021
1 parent e581920 commit 2174b0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/captcha/概述.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ captcha.write(response.getOutputStream());
// 自定义纯数字的验证码(随机4位数字,可重复)
RandomGenerator randomGenerator = new RandomGenerator("0123456789", 4);
LineCaptcha lineCaptcha = CaptchaUtil.createLineCaptcha(200, 100);
captcha.setGenerator(randomGenerator);
lineCaptcha.setGenerator(randomGenerator);
// 重新生成code
captcha.createCode();
lineCaptcha.createCode();
```

```java
Expand Down

0 comments on commit 2174b0f

Please sign in to comment.