Commit a461742d authored by jiaorz's avatar jiaorz

活动记录

parent 7442fe72
...@@ -29,7 +29,6 @@ public class ClickWordCaptcha extends AbstractCaptcha { ...@@ -29,7 +29,6 @@ public class ClickWordCaptcha extends AbstractCaptcha {
private static int HAN_ZI_SIZE_HALF = 60; private static int HAN_ZI_SIZE_HALF = 60;
@Override @Override
public ClickWordCaptchaVO create(CaptchaBaseParam captchaParam) { public ClickWordCaptchaVO create(CaptchaBaseParam captchaParam) {
if (captchaParam == null if (captchaParam == null
...@@ -91,7 +90,7 @@ public class ClickWordCaptcha extends AbstractCaptcha { ...@@ -91,7 +90,7 @@ public class ClickWordCaptcha extends AbstractCaptcha {
Point point = randomWordPoint(900, 478, i, wordCount); Point point = randomWordPoint(900, 478, i, wordCount);
//随机字体颜色 //随机字体颜色
if (isFontColorRandom()){ if (true){
backgroundGraphics.setColor(new Color(RandomUtils.getRandomInt(1,255),RandomUtils.getRandomInt(1,255),RandomUtils.getRandomInt(1,255))); backgroundGraphics.setColor(new Color(RandomUtils.getRandomInt(1,255),RandomUtils.getRandomInt(1,255),RandomUtils.getRandomInt(1,255)));
} else { } else {
backgroundGraphics.setColor(Color.BLACK); backgroundGraphics.setColor(Color.BLACK);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment