|
@@ -67,9 +67,9 @@ public class ManageService {
|
|
|
throw new BusinessException(ResultCode.LOGIN_NUM_MUCH);
|
|
|
}
|
|
|
Integer num = Integer.parseInt(value) + 1;
|
|
|
- redisUtil.set(redisKey,num.toString(),60);
|
|
|
+ redisUtil.set(redisKey,num.toString(),60 * 5);
|
|
|
}else {
|
|
|
- redisUtil.set(redisKey,"1",60);
|
|
|
+ redisUtil.set(redisKey,"1",60 * 5);
|
|
|
}
|
|
|
}
|
|
|
}
|