|
@@ -67,7 +67,7 @@ public class ManageService {
|
|
|
throw new BusinessException(-1,"频繁登录失败,请五分钟后再次尝试登录");
|
|
|
}
|
|
|
Integer num = Integer.parseInt(value) + 1;
|
|
|
- redisUtil.set(redisKey,num.toString());
|
|
|
+ redisUtil.set(redisKey,num.toString(),60);
|
|
|
}else {
|
|
|
redisUtil.set(redisKey,"1",60);
|
|
|
}
|