Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
首航-临时账号
api
Commits
7815b27c
Commit
7815b27c
authored
Sep 24, 2019
by
zhangyu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
c48f1ff7
beec0d2b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
redis.properties
resources/redis.properties
+3
-3
UserController.java
src/com/ejweb/modules/user/api/UserController.java
+0
-1
No files found.
resources/redis.properties
View file @
7815b27c
...
...
@@ -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
src/com/ejweb/modules/user/api/UserController.java
View file @
7815b27c
...
...
@@ -1044,7 +1044,6 @@ public class UserController {
if
(
Integer
.
valueOf
(
redisUtils
.
get
(
userIp
,
indexDb
))
>=
ipLimitTimes
)
{
redisUtils
.
del
(
userIp
,
indexDb
);
userService
.
insertInfoByIp
(
userIp
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment