Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d5f35847
authored
Jun 12, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
686d84e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/UserController.java
project-order/src/main/java/com/alibaba/cloud/integration/order/controller/UserController.java
View file @
d5f3584
...
@@ -19,7 +19,7 @@ public class UserController {
...
@@ -19,7 +19,7 @@ public class UserController {
}
}
@GetMapping
(
"/user/userInfo"
)
@GetMapping
(
"/user/userInfo"
)
public
Result
<?>
getUserInfo
(
@Request
Param
String
userToken
,
@RequestParam
boolean
needTeamInfo
)
{
public
Result
<?>
getUserInfo
(
@Request
Header
(
name
=
"Authorization"
,
required
=
true
)
String
authorization
)
{
return
userService
.
getUserInfo
(
userToken
,
needTeamInfo
);
return
userService
.
getUserInfo
(
authorization
,
true
);
}
}
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment