diff --git a/pom.xml b/pom.xml index 87de7fc..e74d810 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ 2.3.2 3.0.0 4.1.2 - 6.1.6 + 6.2.1 2.3 10.2.0.4.0 diff --git a/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java b/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java index d8276e1..3177948 100644 --- a/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java +++ b/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java @@ -62,13 +62,6 @@ public class KaptchaTextCreator extends DefaultTextCreator suChinese.append(CNUMBERS[x]); } } - else - { - result = x + y; - suChinese.append(CNUMBERS[x]); - suChinese.append("+"); - suChinese.append(CNUMBERS[y]); - } suChinese.append("=?@" + result); return suChinese.toString(); }