coin -> can 으로 변경

This commit is contained in:
2023-08-13 19:47:28 +09:00
parent c9970ce7ca
commit c8764be69f
11 changed files with 22 additions and 22 deletions

View File

@@ -150,7 +150,7 @@ class AudioContentService(
val theme = themeQueryRepository.findThemeByIdAndActive(id = request.themeId)
?: throw SodaException("잘못된 테마입니다. 다시 선택해 주세요.")
if (request.price in 1..9) throw SodaException("콘텐츠의 최소금액은 10코인 입니다.")
if (request.price in 1..9) throw SodaException("콘텐츠의 최소금액은 10 입니다.")
// DB에 값 추가
val audioContent = AudioContent(

View File

@@ -67,7 +67,7 @@ class AudioContentCommentQueryRepositoryImpl(
"$cloudFrontHost/profile/default-profile.png"
},
comment = it.comment,
donationCoin = it.donationCan ?: 0,
donationCan = it.donationCan ?: 0,
date = date.format(DateTimeFormatter.ofPattern("yyyy.MM.dd E hh:mm a")),
replyCount = commentReplyCountByAudioContentCommentId(it.id!!)
)
@@ -131,7 +131,7 @@ class AudioContentCommentQueryRepositoryImpl(
"$cloudFrontHost/profile/default-profile.png"
},
comment = it.comment,
donationCoin = it.donationCan ?: 0,
donationCan = it.donationCan ?: 0,
date = date.format(DateTimeFormatter.ofPattern("yyyy.MM.dd E hh:mm a")),
replyCount = 0
)

View File

@@ -11,7 +11,7 @@ data class GetAudioContentCommentListItem(
val nickname: String,
val profileUrl: String,
val comment: String,
val donationCoin: Int,
val donationCan: Int,
val date: String,
val replyCount: Int
)