fix: 获取当前登录用户信息方法名错误

This commit is contained in:
Ray.Hao
2025-03-31 11:59:09 +08:00
parent 04fba012b5
commit 8cfa734238

View File

@@ -129,7 +129,7 @@ public class UserController {
@GetMapping("/me")
@Log(value = "获取当前登录用户信息", module = LogModuleEnum.USER)
public Result<CurrentUserDTO> getCurrentUser() {
CurrentUserDTO currentUserDTO = userService.getCurrentUser();
CurrentUserDTO currentUserDTO = userService.getCurrentUserInfo();
return Result.success(currentUserDTO);
}