Commit 7815b27c by zhangyu

Merge remote-tracking branch 'origin/develop' into develop

parents c48f1ff7 beec0d2b
......@@ -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
......@@ -1044,7 +1044,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