From 9bc645064a6bcc0f494c2cc23a4b26958c418626 Mon Sep 17 00:00:00 2001 From: "sgb8170@naver.com" Date: Sat, 4 Mar 2023 17:11:53 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20admin=20=EC=9E=91=EA=B0=80=20?= =?UTF-8?q?=EC=A0=84=ED=99=98=20=EB=AA=A9=EB=A1=9D=20=EC=A1=B0=ED=9A=8C?= =?UTF-8?q?=EC=8B=9C=20=EC=97=B0=EB=9D=BD=EC=B2=98=20=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=84=B0=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/sptp/backend/member/service/MemberService.java | 2 +- .../backend/member/web/dto/response/CertificationResponse.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sptp/backend/member/service/MemberService.java b/src/main/java/com/sptp/backend/member/service/MemberService.java index 4aae1076..7aa35359 100644 --- a/src/main/java/com/sptp/backend/member/service/MemberService.java +++ b/src/main/java/com/sptp/backend/member/service/MemberService.java @@ -309,7 +309,7 @@ public List getCertificationList() { List findCertificationList = memberPreferredArtistRepository.findCertificationList(); List certificationResponses = findCertificationList.stream() - .map(m -> new CertificationResponse(m.getId(), processImage(m.getCertificationImage()), m.getRoles().get(0))) + .map(m -> new CertificationResponse(m.getId(), processImage(m.getCertificationImage()), m.getRoles().get(0), m.getTelephone())) .collect(Collectors.toList()); return certificationResponses; diff --git a/src/main/java/com/sptp/backend/member/web/dto/response/CertificationResponse.java b/src/main/java/com/sptp/backend/member/web/dto/response/CertificationResponse.java index 6e78079d..c98d7329 100644 --- a/src/main/java/com/sptp/backend/member/web/dto/response/CertificationResponse.java +++ b/src/main/java/com/sptp/backend/member/web/dto/response/CertificationResponse.java @@ -16,4 +16,5 @@ public class CertificationResponse { private Long id; private String certificationImage; private String roles; + private String telephone; }