Commit beec0d2b by zt

修改ip限制

parent 2b987f30
......@@ -8,5 +8,5 @@ redis.maxWaitMillis=10000
redis.testOnBorrow=true
redis.testOnReturn=true
redis.dbIndex=3
ipWithinSeconds=300
ipLimitTimes=10
\ No newline at end of file
ipWithinSeconds=3600
ipLimitTimes=25
\ No newline at end of file
......@@ -1043,7 +1043,6 @@ public class UserController {
if (Integer.valueOf(redisUtils.get(userIp, indexDb)) >= ipLimitTimes) {
redisUtils.del(userIp, indexDb);
userService.insertInfoByIp(userIp);
}
}
}
......
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 to comment