Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
e22acafc
Commit
e22acafc
authored
Jun 27, 2019
by
macro
Browse files
Update WebLogAspect.java
parent
bf87bf08
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/component/WebLogAspect.java
View file @
e22acafc
...
...
@@ -58,7 +58,7 @@ public class WebLogAspect {
//获取当前请求对象
ServletRequestAttributes
attributes
=
(
ServletRequestAttributes
)
RequestContextHolder
.
getRequestAttributes
();
HttpServletRequest
request
=
attributes
.
getRequest
();
//记录请求信息(通过
l
ogstash传入elasticsearch)
//记录请求信息(通过
L
ogstash传入elasticsearch)
WebLog
webLog
=
new
WebLog
();
Object
result
=
joinPoint
.
proceed
();
Signature
signature
=
joinPoint
.
getSignature
();
...
...
Write
Preview
Supports
Markdown
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