mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-02-10 10:51:58 +08:00
Compare commits
4 Commits
118c5e6104
...
463c491b37
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
463c491b37 | ||
|
|
a6bcebb62b | ||
|
|
1cb262daa3 | ||
|
|
3e352b338c |
@@ -29,7 +29,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# 避免actuator暴露
|
# 避免actuator暴露
|
||||||
if ($request_uri ~ "/actuator") {
|
if ($uri ~ "/actuator") {
|
||||||
return 403;
|
return 403;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ public class KaptchaTextCreator extends DefaultTextCreator
|
|||||||
suChinese.append(CNUMBERS[y]);
|
suChinese.append(CNUMBERS[y]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (randomoperands == 2)
|
else
|
||||||
{
|
{
|
||||||
if (x >= y)
|
if (x >= y)
|
||||||
{
|
{
|
||||||
@@ -62,13 +62,6 @@ public class KaptchaTextCreator extends DefaultTextCreator
|
|||||||
suChinese.append(CNUMBERS[x]);
|
suChinese.append(CNUMBERS[x]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
result = x + y;
|
|
||||||
suChinese.append(CNUMBERS[x]);
|
|
||||||
suChinese.append("+");
|
|
||||||
suChinese.append(CNUMBERS[y]);
|
|
||||||
}
|
|
||||||
suChinese.append("=?@" + result);
|
suChinese.append("=?@" + result);
|
||||||
return suChinese.toString();
|
return suChinese.toString();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user