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
0a51f7d7
Commit
0a51f7d7
authored
Sep 02, 2020
by
tzg
Browse files
空值处理
parent
4f86b6d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/DataScopeAspect.java
View file @
0a51f7d7
...
...
@@ -79,6 +79,9 @@ public class DataScopeAspect
}
// 获取当前的用户
LoginUser
loginUser
=
SpringUtils
.
getBean
(
TokenService
.
class
).
getLoginUser
(
ServletUtils
.
getRequest
());
if
(
loginUser
==
null
)
{
return
;
}
SysUser
currentUser
=
loginUser
.
getUser
();
if
(
currentUser
!=
null
)
{
...
...
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