mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08:00
Compare commits
2 Commits
v3.6.6
...
bdda3dc901
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bdda3dc901 | ||
|
|
3e352b338c |
@@ -45,7 +45,7 @@ public class KaptchaTextCreator extends DefaultTextCreator
|
||||
suChinese.append(CNUMBERS[y]);
|
||||
}
|
||||
}
|
||||
else if (randomoperands == 2)
|
||||
else
|
||||
{
|
||||
if (x >= y)
|
||||
{
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user