Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
head_group
xyqb-user2
Commits
d24ff396
Commit
d24ff396
authored
Aug 01, 2023
by
唐峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VerificationCodeErrorException supper msg
parent
1907d0f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
VerificationCodeErrorException.java
...tgroup/xyqb/exception/VerificationCodeErrorException.java
+1
-0
BctyptPasswordUtil.java
...main/java/cn/quantgroup/xyqb/util/BctyptPasswordUtil.java
+5
-0
No files found.
src/main/java/cn/quantgroup/xyqb/exception/VerificationCodeErrorException.java
View file @
d24ff396
...
@@ -21,6 +21,7 @@ public class VerificationCodeErrorException extends RuntimeException {
...
@@ -21,6 +21,7 @@ public class VerificationCodeErrorException extends RuntimeException {
}
}
public
VerificationCodeErrorException
(
BizExceptionEnum
bizExceptionEnum
)
{
public
VerificationCodeErrorException
(
BizExceptionEnum
bizExceptionEnum
)
{
super
(
bizExceptionEnum
.
getMsg
());
this
.
msg
=
bizExceptionEnum
.
getMsg
();
this
.
msg
=
bizExceptionEnum
.
getMsg
();
this
.
businessCode
=
bizExceptionEnum
.
getBusinessCode
();
this
.
businessCode
=
bizExceptionEnum
.
getBusinessCode
();
}
}
...
...
src/main/java/cn/quantgroup/xyqb/util/BctyptPasswordUtil.java
View file @
d24ff396
...
@@ -19,4 +19,9 @@ public class BctyptPasswordUtil {
...
@@ -19,4 +19,9 @@ public class BctyptPasswordUtil {
return
BCrypt
.
checkpw
(
password
,
hashe
);
return
BCrypt
.
checkpw
(
password
,
hashe
);
}
}
public
static
void
main
(
String
[]
args
)
{
Boolean
aBoolean
=
BCryptCheckPw
(
"123455lll"
,
"$2a$10$F5zuGyS2wi1Qtfo3yoglU.o4U.nr386JduPGUg28AMrVDdR0vdSjS"
);
System
.
out
.
println
(
aBoolean
);
}
}
}
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