Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
424d1189
Commit
424d1189
authored
Jul 14, 2022
by
若依
Committed by
Gitee
Jul 14, 2022
Browse files
Options
Browse Files
Download
Plain Diff
!531 去除生成验证码多余的逻辑判断
Merge pull request !531 from 稚屿/N/A
parents
c7c3da20
edefee46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
ruoyi-framework/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java
...n/java/com/ruoyi/framework/config/KaptchaTextCreator.java
+1
-8
No files found.
ruoyi-framework/src/main/java/com/ruoyi/framework/config/KaptchaTextCreator.java
View file @
424d1189
...
...
@@ -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
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment