Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
71c60395
authored
Mar 21, 2019
by
Huang Linyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将爱玩获取的验证码从四位数更改为6位数
parent
2110e44e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/main/java/com/ctrip/fun/golf/service/outdoor/OutdoorService.java
src/main/java/com/ctrip/fun/golf/service/user/UserService.java
src/main/java/com/ctrip/fun/golf/service/outdoor/OutdoorService.java
View file @
71c60395
...
@@ -63,7 +63,7 @@ public class OutdoorService {
...
@@ -63,7 +63,7 @@ public class OutdoorService {
* @return int
* @return int
*/
*/
private
int
getRandom
()
{
private
int
getRandom
()
{
return
(
int
)
(
Math
.
random
()
*
9000
)
+
1
000
;
return
(
int
)
(
Math
.
random
()
*
9000
00
)
+
100
000
;
}
}
public
VerifyResultBean
sendVerifyCode
(
VerifyCodeBean
request
)
{
public
VerifyResultBean
sendVerifyCode
(
VerifyCodeBean
request
)
{
...
...
src/main/java/com/ctrip/fun/golf/service/user/UserService.java
View file @
71c60395
...
@@ -246,7 +246,7 @@ public class UserService {
...
@@ -246,7 +246,7 @@ public class UserService {
* @return int
* @return int
*/
*/
private
int
getRandom
()
{
private
int
getRandom
()
{
return
(
int
)
(
Math
.
random
()
*
9000
)
+
1
000
;
return
(
int
)
(
Math
.
random
()
*
9000
00
)
+
100
000
;
}
}
/**
/**
...
...
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