Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fangyeqing
/
xkl-interface
·
Commits
Go to a project
GitLab
Go to dashboard
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhaoyue
8 years ago
Commit
2611219ac715fcb0b49b662aa0d430445d10a166
1 parent
ddb4d044
Bug fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
push.sh
src/main/java/com/xkl/authorization/annotation/CurrentUser.java
push.sh
View file @
2611219
git add --all src/
*
git add push.sh
git commit -m
"
add AMP report
"
git commit -m
"
Bug fix
"
git push origin zhaoyue-dev
git status
\ No newline at end of file
...
...
src/main/java/com/xkl/authorization/annotation/CurrentUser.java
View file @
2611219
...
...
@@ -7,7 +7,7 @@ import java.lang.annotation.Target;
/**
* 在Controller的方法参数中使用此注解,该方法在映射时会注入当前登录的User对象
* @see com.xkl.authorization.resolvers.Current
Admin
MethodArgumentResolver
* @see com.xkl.authorization.resolvers.Current
User
MethodArgumentResolver
*/
@Target
(
ElementType
.
PARAMETER
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
...
...
Please
register
or
login
to post a comment