RuoYi
2023-08-14 ab99a72b65184035f48ccd0bb4f5465a0cd6b1ae
ruoyi-framework/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java
@@ -45,7 +45,7 @@
                suChinese.append(CNUMBERS[y]);
            }
        }
        else if (randomoperands == 2)
        else
        {
            if (x >= y)
            {
@@ -61,13 +61,6 @@
                suChinese.append("-");
                suChinese.append(CNUMBERS[x]);
            }
        }
        else
        {
            result = x + y;
            suChinese.append(CNUMBERS[x]);
            suChinese.append("+");
            suChinese.append(CNUMBERS[y]);
        }
        suChinese.append("=?@" + result);
        return suChinese.toString();