parent
5609bdb6f4
commit
c66421b45d
|
@ -8,5 +8,5 @@ data class EditLiveRoomInfoRequest(
|
||||||
val timezone: String?,
|
val timezone: String?,
|
||||||
val menuPanId: Long = 0,
|
val menuPanId: Long = 0,
|
||||||
val menuPan: String = "",
|
val menuPan: String = "",
|
||||||
val isActiveMenuPan: Boolean
|
val isActiveMenuPan: Boolean? = null
|
||||||
)
|
)
|
||||||
|
|
|
@ -674,6 +674,7 @@ class LiveRoomService(
|
||||||
.toLocalDateTime()
|
.toLocalDateTime()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (request.isActiveMenuPan != null) {
|
||||||
if (request.isActiveMenuPan) {
|
if (request.isActiveMenuPan) {
|
||||||
if (request.menuPanId > 0) {
|
if (request.menuPanId > 0) {
|
||||||
menuService.updateLiveMenu(
|
menuService.updateLiveMenu(
|
||||||
|
@ -698,6 +699,7 @@ class LiveRoomService(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fun getRoomInfo(roomId: Long, member: Member): GetRoomInfoResponse {
|
fun getRoomInfo(roomId: Long, member: Member): GetRoomInfoResponse {
|
||||||
val roomInfo = roomInfoRepository.findByIdOrNull(roomId)
|
val roomInfo = roomInfoRepository.findByIdOrNull(roomId)
|
||||||
|
|
Loading…
Reference in New Issue