Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
head_group
xyqb-user2
Commits
9fcb05c6
Commit
9fcb05c6
authored
Dec 07, 2017
by
技术部-任文超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正临时对策
parent
99de1ef6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
UserController.java
...ntgroup/xyqb/controller/internal/user/UserController.java
+1
-1
LockIpv4ServiceImpl.java
...uantgroup/xyqb/service/user/impl/LockIpv4ServiceImpl.java
+1
-1
No files found.
src/main/java/cn/quantgroup/xyqb/controller/internal/user/UserController.java
View file @
9fcb05c6
...
@@ -142,7 +142,7 @@ public class UserController implements IBaseController {
...
@@ -142,7 +142,7 @@ public class UserController implements IBaseController {
}
}
@LogHttpCaller
@LogHttpCaller
// Todo -- 误伤业务方,暂时下线[比如网贷之家:121.40.207.133] --
@PasswordErrorFiniteValidator
@PasswordErrorFiniteValidator
@RequestMapping
(
"/login"
)
@RequestMapping
(
"/login"
)
public
JsonResult
login
(
public
JsonResult
login
(
@RequestParam
(
required
=
false
,
defaultValue
=
"1"
)
Long
channelId
,
String
appChannel
,
@RequestParam
(
required
=
false
,
defaultValue
=
"1"
)
Long
channelId
,
String
appChannel
,
...
...
src/main/java/cn/quantgroup/xyqb/service/user/impl/LockIpv4ServiceImpl.java
View file @
9fcb05c6
...
@@ -103,7 +103,7 @@ public class LockIpv4ServiceImpl implements ILockIpv4Service {
...
@@ -103,7 +103,7 @@ public class LockIpv4ServiceImpl implements ILockIpv4Service {
}
}
Long
count
=
stringRedisTemplate
.
opsForValue
().
increment
(
ipv4Key
,
1L
);
Long
count
=
stringRedisTemplate
.
opsForValue
().
increment
(
ipv4Key
,
1L
);
LOGGER
.
info
(
"Lock_ipv4: count success ip access: ip={}, count={}"
,
ipv4
,
count
);
LOGGER
.
info
(
"Lock_ipv4: count success ip access: ip={}, count={}"
,
ipv4
,
count
);
lockSuccessIpv4
(
ipv4
,
count
);
// Todo -- 误伤业务方,暂时下线[比如网贷之家:121.40.207.133] --
lockSuccessIpv4(ipv4, count);
}
}
}
}
...
...
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