Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
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
吴迪
gs1-office-web-sit
Commits
ec71cfbe
Commit
ec71cfbe
authored
Dec 21, 2021
by
唐功亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】 修改手机号
parent
7c84077d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MemberServiceImpl.java
...office/modules/manage/service/impl/MemberServiceImpl.java
+4
-4
No files found.
src/main/java/io/office/modules/manage/service/impl/MemberServiceImpl.java
View file @
ec71cfbe
...
...
@@ -194,7 +194,7 @@ public class MemberServiceImpl extends ServiceImpl<MemberDao, MemberEntity> impl
flag
=
1
;
}
// 以下添加同一个ip短信发送次数验证
/*
// 以下添加同一个ip短信发送次数验证
int flag_ip = 1;
TimescodeChphoneIpEntity timescodeChphoneIpEntity = timescodeChphoneIpDao.selectById(ip);
if (timescodeChphoneIpEntity != null) {
...
...
@@ -221,13 +221,13 @@ public class MemberServiceImpl extends ServiceImpl<MemberDao, MemberEntity> impl
int times_ip = 1;
timescodeChphoneIpDao.insert(new TimescodeChphoneIpEntity(ip, date, times_ip));
flag_ip = 1;
}
}
*/
// 同一个ip短信发送次数验证end
if
(
flag
==
0
)
{
throw
new
RRException
(
"同一手机号每日最多操作三次!"
);
}
else
if
(
flag_ip
==
0
)
{
}
/*
else if (flag_ip == 0) {
throw new RRException("同一ip每日最多操作十次!");
}
}
*/
if
(
phone
.
equals
(
""
))
{
throw
new
RRException
(
"请输入手机号码"
);
}
...
...
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