This commit is contained in:
Looly
2023-05-19 22:28:39 +08:00
parent 586b29f3d1
commit ea1c49a93b
23 changed files with 53 additions and 41 deletions

View File

@@ -35,7 +35,7 @@ public abstract class AbstractGenerator implements CodeGenerator {
* @param count 生成验证码长度
*/
public AbstractGenerator(final int count) {
this(RandomUtil.BASE_CHAR_NUMBER, count);
this(RandomUtil.BASE_CHAR_NUMBER_LOWER, count);
}
/**

View File

@@ -46,7 +46,7 @@ public class RandomGenerator extends AbstractGenerator {
@Override
public String generate() {
return RandomUtil.randomString(this.baseStr, this.length);
return RandomUtil.randomStringLower(this.baseStr, this.length);
}
@Override