Commit d5f35847 by wangli

修改

1 parent 686d84e2
...@@ -19,7 +19,7 @@ public class UserController { ...@@ -19,7 +19,7 @@ public class UserController {
} }
@GetMapping("/user/userInfo") @GetMapping("/user/userInfo")
public Result<?> getUserInfo(@RequestParam String userToken, @RequestParam boolean needTeamInfo) { public Result<?> getUserInfo(@RequestHeader(name="Authorization", required = true) String authorization) {
return userService.getUserInfo(userToken, needTeamInfo); return userService.getUserInfo(authorization, true);
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!