유저 행동 데이터, 포인트 추가 #309
|
@ -26,10 +26,14 @@ data class CreatePointRewardPolicyRequest(
|
||||||
.atZone(ZoneId.of("Asia/Seoul"))
|
.atZone(ZoneId.of("Asia/Seoul"))
|
||||||
.withZoneSameInstant(ZoneId.of("UTC"))
|
.withZoneSameInstant(ZoneId.of("UTC"))
|
||||||
.toLocalDateTime(),
|
.toLocalDateTime(),
|
||||||
endDate = LocalDateTime.parse(endDate, dateTimeFormatter).withSecond(59)
|
endDate = if (endDate.isNotBlank()) {
|
||||||
.atZone(ZoneId.of("Asia/Seoul"))
|
LocalDateTime.parse(endDate, dateTimeFormatter).withSecond(59)
|
||||||
.withZoneSameInstant(ZoneId.of("UTC"))
|
.atZone(ZoneId.of("Asia/Seoul"))
|
||||||
.toLocalDateTime(),
|
.withZoneSameInstant(ZoneId.of("UTC"))
|
||||||
|
.toLocalDateTime()
|
||||||
|
} else {
|
||||||
|
null
|
||||||
|
},
|
||||||
isActive = true
|
isActive = true
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue