diff --git a/src/main/java/treehouse/server/api/member/business/MemberMapper.java b/src/main/java/treehouse/server/api/member/business/MemberMapper.java index 886f55b..47a2372 100644 --- a/src/main/java/treehouse/server/api/member/business/MemberMapper.java +++ b/src/main/java/treehouse/server/api/member/business/MemberMapper.java @@ -57,6 +57,7 @@ public static MemberResponseDTO.getProfile toGetProfile(List branches, M .memberId(member.getId()) .memberName(member.getName()) .userName(member.getUser().getName()) + .phone(member.getUser().getPhone()) .closestMemberCount(BranchUtil.countClosestMembers(branches, targetMember.getId())) // ClosestMember 기능 개발 이후 변경 예정 .treehouseCount(member.getUser().getMemberList().size()) // TreehouseCount 기능 개발 이후 변경 예정 .fromMe(BranchUtil.calculateBranchDegree(branches, member.getId(), targetMember.getId())) diff --git a/src/main/java/treehouse/server/api/member/presentation/dto/MemberResponseDTO.java b/src/main/java/treehouse/server/api/member/presentation/dto/MemberResponseDTO.java index 19b98e8..a302a2a 100644 --- a/src/main/java/treehouse/server/api/member/presentation/dto/MemberResponseDTO.java +++ b/src/main/java/treehouse/server/api/member/presentation/dto/MemberResponseDTO.java @@ -34,6 +34,7 @@ public static class getProfile { private Long memberId; private String memberName; private String userName; + private String phone; private Integer closestMemberCount; private Integer treehouseCount; private Integer fromMe;