Commit 71c60395 by Huang Linyu

将爱玩获取的验证码从四位数更改为6位数

parent 2110e44e
...@@ -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) + 1000; return (int) (Math.random() * 900000) + 100000;
} }
public VerifyResultBean sendVerifyCode(VerifyCodeBean request) { public VerifyResultBean sendVerifyCode(VerifyCodeBean request) {
......
...@@ -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) + 1000; return (int) (Math.random() * 900000) + 100000;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment