refactor: 生成代码重构优化

This commit is contained in:
ray
2024-09-07 15:24:15 +08:00
parent ce11a459ef
commit b4f11b16d0
69 changed files with 790 additions and 731 deletions

View File

@@ -36,7 +36,7 @@ public class CaptchaConfig {
} else if ("random".equalsIgnoreCase(codeType)) {
return new RandomGenerator(codeLength);
} else {
throw new IllegalArgumentException("Invalid captcha generator type: " + codeType);
throw new IllegalArgumentException("Invalid captcha codegen type: " + codeType);
}
}