diff --git a/README.md b/README.md
index 5cf4553..e505c48 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,16 @@
# 파이널 프로젝트 : 무료 예약 취소 불가한 숙소의 양도/거래 서비스
+
+
+
+ ![logo](https://img.shields.io/badge/CatchRoom-F0047F.svg?style=for-the-badge)
+
+
+
## 🎢 서비스 실행 링크
- [CatchRoom 서비스 실행 링크](https://dev.dhlbrqe2v28e4.amplifyapp.com/home)
-- [백엔드 채팅 Repo](https://github.com/catchroom/BE_Chat)
+- [백엔드 채팅 서버 Repo](https://github.com/catchroom/BE_Chat)
## 📹 서비스 데모 영상
- 추후 업데이트 예정
diff --git a/src/main/java/com/example/catchroom_be/domain/user/dto/response/ProfileResponse.java b/src/main/java/com/example/catchroom_be/domain/user/dto/response/ProfileResponse.java
index 41f04ed..2d40490 100644
--- a/src/main/java/com/example/catchroom_be/domain/user/dto/response/ProfileResponse.java
+++ b/src/main/java/com/example/catchroom_be/domain/user/dto/response/ProfileResponse.java
@@ -11,6 +11,7 @@ public class ProfileResponse {
String name;
String phoneNumber;
String nickName;
+ Long userId;
public static ProfileResponse fromEntity(User user) {
@@ -19,6 +20,7 @@ public static ProfileResponse fromEntity(User user) {
.name(user.getName())
.phoneNumber(user.getPhonenumber())
.nickName(user.getNickName())
+ .userId(user.getId())
.build();
}
}
diff --git a/src/main/java/com/example/catchroom_be/domain/user/dto/response/ReviewResponse.java b/src/main/java/com/example/catchroom_be/domain/user/dto/response/ReviewResponse.java
index 1567387..60d8c20 100644
--- a/src/main/java/com/example/catchroom_be/domain/user/dto/response/ReviewResponse.java
+++ b/src/main/java/com/example/catchroom_be/domain/user/dto/response/ReviewResponse.java
@@ -7,12 +7,15 @@ public class ReviewResponse {
String accommodationName;
String content;
boolean isModify;
+ Long productId;
- public void fromEntity(String accommodationName,String content,boolean isModify) {
+ public void fromEntity(String accommodationName,String content,boolean isModify,
+ Long productId) {
this.accommodationName = accommodationName;
this.content = content;
this.isModify = isModify;
+ this.productId = productId;
}
}
diff --git a/src/main/java/com/example/catchroom_be/domain/user/service/mypage/MyPageReviewService.java b/src/main/java/com/example/catchroom_be/domain/user/service/mypage/MyPageReviewService.java
index c3d83c9..e2d87f4 100644
--- a/src/main/java/com/example/catchroom_be/domain/user/service/mypage/MyPageReviewService.java
+++ b/src/main/java/com/example/catchroom_be/domain/user/service/mypage/MyPageReviewService.java
@@ -54,6 +54,7 @@ public ReviewResponse reviewFindService(ReviewType type, Long id) {
String accommodationName = accommodation.getName();
String content = e.getContent();
Boolean isModify = false;
+ Long reviewId = e.getProduct().getId();
LocalDateTime createdAt = e.getCreatedAt();
if (createdAt != null) {
@@ -66,7 +67,7 @@ public ReviewResponse reviewFindService(ReviewType type, Long id) {
}
ReviewResponse reviewResponse = new ReviewResponse();
- reviewResponse.fromEntity(accommodationName, content, isModify);
+ reviewResponse.fromEntity(accommodationName, content, isModify,reviewId);
return reviewResponse;
}