From d678f0cde340c0d751b278fa8a367052b482ba95 Mon Sep 17 00:00:00 2001 From: hjh Date: Sat, 8 Nov 2025 00:21:28 +0900 Subject: [PATCH] =?UTF-8?q?=EB=82=B4=EA=B0=80=20=EC=93=B4=20=EB=8C=93?= =?UTF-8?q?=EA=B8=80=20=EC=A1=B0=ED=9A=8C=20API=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/helloworldmvc/converter/MyPageConverter.java | 3 ++- .../helloworldmvc/web/controller/MyPageController.java | 4 ++-- .../com/example/helloworldmvc/web/dto/MyPageResponseDTO.java | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/example/helloworldmvc/converter/MyPageConverter.java b/src/main/java/com/example/helloworldmvc/converter/MyPageConverter.java index b7d66ec..99f7c5d 100644 --- a/src/main/java/com/example/helloworldmvc/converter/MyPageConverter.java +++ b/src/main/java/com/example/helloworldmvc/converter/MyPageConverter.java @@ -72,8 +72,9 @@ public static MyPageResponseDTO.DetailSummaryRes toDetailSummaryRes(Summary summ .uploadedAt(summary.getUpdateAt()) .name(user.getName()) .userImg(userImg) + .title(summary.getTitle()) .chatSummary(summary.getChatSummary()) - .mainPoint(summary.getMainPoint()) +// .mainPoint(summary.getMainPoint()) .roomId(summary.getRoomId()) .build(); } diff --git a/src/main/java/com/example/helloworldmvc/web/controller/MyPageController.java b/src/main/java/com/example/helloworldmvc/web/controller/MyPageController.java index b09d11a..1c89299 100644 --- a/src/main/java/com/example/helloworldmvc/web/controller/MyPageController.java +++ b/src/main/java/com/example/helloworldmvc/web/controller/MyPageController.java @@ -54,7 +54,7 @@ public ApiResponse getMyPage(@RequestHeader("Aut } @GetMapping("/allSummary") - @Operation(summary = "전체 상담 조회 API", description = "(외국인)내 전체 상담 조회 화면 API입니다.") + @Operation(summary = "채팅 요약 전체 보기 API", description = "채팅 요약 전체 보기 API입니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "OK, 성공"), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "USER4001", description = "사용자를 찾을수 없습니다.") @@ -73,7 +73,7 @@ public ApiResponse getAllSummary(@RequestHeader("Authorization") String acces } @GetMapping("/detailSummary") - @Operation(summary = "채팅 상담 요약 상세 보기 API", description = "채팅 상담 요약 상세 보기 화면 API입니다.") + @Operation(summary = "채팅 요약 상세 보기 API", description = "채팅 요약 상세 보기 화면 API입니다.") @ApiResponses({ @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "OK, 성공"), @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "USER4001", description = "사용자를 찾을수 없습니다.") diff --git a/src/main/java/com/example/helloworldmvc/web/dto/MyPageResponseDTO.java b/src/main/java/com/example/helloworldmvc/web/dto/MyPageResponseDTO.java index 8c2ce7c..299047a 100644 --- a/src/main/java/com/example/helloworldmvc/web/dto/MyPageResponseDTO.java +++ b/src/main/java/com/example/helloworldmvc/web/dto/MyPageResponseDTO.java @@ -50,6 +50,7 @@ public static class DetailSummaryRes{ Long summaryId; String identificationNum; LocalDateTime uploadedAt; + String title; String name; String userImg; String chatSummary;