From d4c4d59464ab57b3cf6c7194f9725e1115681e3a Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 14 Jul 2022 19:50:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7oshi=E5=88=B0=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC6.2.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../com/ruoyi/framework/config/KaptchaTextCreator.java | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) 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(); }