|
|
@ -57,8 +57,7 @@ public class UserController {
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("获取当前的用户信息")
|
|
|
|
@ApiOperation("获取当前的用户信息")
|
|
|
|
@GetMapping(value = "/info")
|
|
|
|
@GetMapping(value = "/info")
|
|
|
|
@PreAuthorize("@el.check('user:list')")
|
|
|
|
public ResponseEntity<Map<String, Object>> getUserInfo() {
|
|
|
|
public ResponseEntity<Map<String, Object>> getCurrentUserInfo() {
|
|
|
|
|
|
|
|
return ResponseEntity.ok(this.userService.getCurrentUserInfo());
|
|
|
|
return ResponseEntity.ok(this.userService.getCurrentUserInfo());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|