Skip to content

Commit de868ba

Browse files
committed
feat: 라이브물품 currentPrice 추가, 낙찰 시 최종가 반영
1 parent a31f8ad commit de868ba

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/devut/buzzerbidder/domain/auctionroom/dto/response/AuctionRoomItemDto.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ public record AuctionRoomItemDto(
88
Long id,
99
String name,
1010
List<String> imageUrls,
11-
Long price,
11+
Long initPrice,
12+
Long currentPrice,
1213
AuctionStatus auctionStatus
1314
) {
1415

src/main/java/devut/buzzerbidder/domain/auctionroom/service/AuctionRoomService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ public AuctionRoomResponse getAuctionRoom(Long auctionRoomId) {
227227
.map(LiveItemImage::getImageUrl)
228228
.toList(),
229229
item.getInitPrice(),
230+
item.getCurrentPrice(),
230231
item.getAuctionStatus()
231232
))
232233
.toList();

0 commit comments

Comments
 (0)