Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 37abaebe
authored
Mar 26, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:测试环境跳过登录
1 parent
c75479df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
aus-inspector/src/main/java/com/glsx/usedcar/controller/AuthController.java
aus-inspector/src/main/java/com/glsx/usedcar/controller/AuthController.java
View file @
37abaeb
...
@@ -94,7 +94,7 @@ public class AuthController {
...
@@ -94,7 +94,7 @@ public class AuthController {
return
BaseResp
.
fail
(
"用户不存在"
);
return
BaseResp
.
fail
(
"用户不存在"
);
}
}
String
code
=
loginRequest
.
getVerifyCode
();
String
code
=
loginRequest
.
getVerifyCode
();
if
(!
smsCodeUtil
.
validateCode
(
phone
,
code
)
&&
!
envProfileUtils
.
isDevEnvironment
())
{
if
(!
smsCodeUtil
.
validateCode
(
phone
,
code
)
&&
!
envProfileUtils
.
isDevEnvironment
()
&&
!
envProfileUtils
.
isTestEnvironment
()
)
{
log
.
warn
(
"用户手机号{}验证码错误"
,
phone
);
log
.
warn
(
"用户手机号{}验证码错误"
,
phone
);
return
BaseResp
.
fail
(
"验证码错误或已过期"
);
return
BaseResp
.
fail
(
"验证码错误或已过期"
);
}
}
...
...
Write
Preview
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