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
e0ac85a7
Commit
e0ac85a7
authored
Jun 27, 2019
by
macro
Browse files
Update WebLogAspect.java
parent
e22acafc
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/component/WebLogAspect.java
View file @
e0ac85a7
...
...
@@ -58,7 +58,7 @@ public class WebLogAspect {
//获取当前请求对象
ServletRequestAttributes
attributes
=
(
ServletRequestAttributes
)
RequestContextHolder
.
getRequestAttributes
();
HttpServletRequest
request
=
attributes
.
getRequest
();
//记录请求信息(通过Logstash传入
e
lasticsearch)
//记录请求信息(通过Logstash传入
E
lasticsearch)
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