Merge pull request '라이브 예약 반환 값 - beginDateTimeUtc 추가' (#382) from test into main
Reviewed-on: #382
This commit is contained in:
@@ -83,6 +83,8 @@ class LiveReservationService(
|
||||
nickname = room.member!!.nickname,
|
||||
title = room.title,
|
||||
beginDateString = beginDateTime.format(DateTimeFormatter.ofPattern(reservationDateFormat)),
|
||||
beginDateTimeUtc = room.beginDateTime
|
||||
.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME),
|
||||
price = if (room.price > 0) {
|
||||
val priceTemplate = messageSource.getMessage("live.room.can_title", langContext.lang).orEmpty()
|
||||
String.format(priceTemplate, room.price)
|
||||
|
||||
@@ -5,6 +5,7 @@ data class MakeLiveReservationResponse(
|
||||
val nickname: String,
|
||||
val title: String,
|
||||
val beginDateString: String,
|
||||
val beginDateTimeUtc: String,
|
||||
val price: String,
|
||||
val haveCan: Int,
|
||||
val useCan: Int,
|
||||
|
||||
Reference in New Issue
Block a user