mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user