MCPcopy Create free account
hub / github.com/Xiaoc7r/CityHub / me

Method me

src/main/java/com/hmdp/controller/UserController.java:72–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 }
71
72 @GetMapping("/me")
73 public Result me(){
74 UserDTO user = UserHolder.getUser();
75 return Result.ok(user);
76 }
77
78 @GetMapping("/info/{id}")
79 public Result info(@PathVariable("id") Long userId){

Callers

nothing calls this directly

Calls 2

getUserMethod · 0.95
okMethod · 0.95

Tested by

no test coverage detected