Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
51e3a1ee
authored
2025-08-16 20:57:52 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
40842c6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
lego-system/src/main/java/com/lego/system/service/SysRegisterService.java
lego-system/src/main/java/com/lego/system/service/SysRegisterService.java
View file @
51e3a1e
...
...
@@ -39,11 +39,11 @@ public class SysRegisterService {
// 校验用户类型是否存在
String
userType
=
UserType
.
getUserType
(
registerBody
.
getUserType
()).
getUserType
();
boolean
captchaEnabled
=
configService
.
selectCaptchaEnabled
();
// 验证码开关
if
(
captchaEnabled
)
{
validateCaptcha
(
username
,
registerBody
.
getCode
(),
registerBody
.
getUuid
());
}
//
boolean captchaEnabled = configService.selectCaptchaEnabled();
//
// 验证码开关
//
if (captchaEnabled) {
//
validateCaptcha(username, registerBody.getCode(), registerBody.getUuid());
//
}
SysUser
sysUser
=
new
SysUser
();
sysUser
.
setUserName
(
username
);
sysUser
.
setNickName
(
username
);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment