Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-region-outline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
cfld-backend
cfld-region-outline
Commits
cfdcd528
Commit
cfdcd528
authored
Dec 12, 2023
by
zhouxudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加白名单 ip
parent
68b2058d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
LiyerenServiceImpl.java
...lyy/admin/service/liyerenapi/impl/LiyerenServiceImpl.java
+2
-2
No files found.
src/main/java/com/lyy/admin/service/liyerenapi/impl/LiyerenServiceImpl.java
View file @
cfdcd528
...
...
@@ -90,7 +90,7 @@ public class LiyerenServiceImpl implements LiyerenService {
}
List
<
Integer
>
temp
=
new
ArrayList
<>();
temp
.
add
(
sendPhoneVo
.
getCode
());
/*
// 发送短信
// 发送短信
String
result
=
sendMsgUtils
.
sendMsg
(
sendPhoneVo
.
getPhone
(),
...
...
@@ -112,7 +112,7 @@ public class LiyerenServiceImpl implements LiyerenService {
if
(!
"000000"
.
equals
(
smsVo
.
getCode
()))
{
log
.
error
(
"短信发送失败:{},手机号:{}"
,
smsVo
,
sendPhoneVo
.
getPhone
());
throw
new
LiyerenException
(
407
,
result
);
}
*/
}
RedisUtil
.
set
(
key
,
String
.
valueOf
(
sendPhoneVo
.
getCode
()),
Constants
.
EXPIRE_TIME
,
TimeUnit
.
MINUTES
);
return
true
;
...
...
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