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
jinli gu
RuoYi Vue
Commits
87c53a04
Unverified
Commit
87c53a04
authored
Sep 09, 2022
by
若依
Committed by
Gitee
Sep 09, 2022
Browse files
!574 修复 issue#I5Q2ZO
Merge pull request !574 from 捏造的信仰/fix-I5Q2ZO
parents
5bcd2825
036144b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/LogAspect.java
View file @
87c53a04
...
...
@@ -78,7 +78,7 @@ public class LogAspect
// 请求的地址
String
ip
=
IpUtils
.
getIpAddr
(
ServletUtils
.
getRequest
());
operLog
.
setOperIp
(
ip
);
operLog
.
setOperUrl
(
ServletUtils
.
getRequest
().
getRequestURI
());
operLog
.
setOperUrl
(
StringUtils
.
substring
(
ServletUtils
.
getRequest
().
getRequestURI
()
,
0
,
255
)
);
if
(
loginUser
!=
null
)
{
operLog
.
setOperName
(
loginUser
.
getUsername
());
...
...
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