|
@@ -232,7 +232,7 @@ public class SMSLogic {
|
|
|
//6位随机数
|
|
|
if (!active.equals("prd")) {
|
|
|
//记录发送的code
|
|
|
- redisUtil.set(Constant.RedisPrefix.SMS + ":" + mobile, "000000", 2 * 60);
|
|
|
+ redisUtil.set(Constant.RedisPrefix.SMS + ":" + mobile, "000000", 1 * 60);
|
|
|
} else {
|
|
|
Random random = new Random();
|
|
|
int num = (int) (random.nextDouble() * (1000000 - 100000) + 100000);
|