|
@ -1120,7 +1120,7 @@ public class WlyyLoginEndpoint extends AbstractEndpoint {
|
|
|
properties.put("kaptcha.textproducer.font.size", "45");
|
|
|
properties.put("kaptcha.textproducer.char.length", "4");
|
|
|
properties.put("kaptcha.textproducer.font.names", "宋体,楷体,微软雅黑");
|
|
|
properties.put("kaptcha.textproducer.char.string","0123456789QWERTYUIOPLKJHGFDSAZXCVBNM");
|
|
|
properties.put("kaptcha.textproducer.char.string","0123456789");
|
|
|
Config config = new Config(properties);
|
|
|
captchaProducer.setConfig(config);
|
|
|
String captchaText = captchaProducer.createText();
|