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