fix: 유저/관리자 캐릭터 이미지 리스트
- 불필요한 Response 제거
This commit is contained in:
@@ -29,9 +29,6 @@ data class AdminCharacterImageResponse(
|
|||||||
val characterId: Long,
|
val characterId: Long,
|
||||||
val imagePriceCan: Long,
|
val imagePriceCan: Long,
|
||||||
val messagePriceCan: Long,
|
val messagePriceCan: Long,
|
||||||
val isAdult: Boolean,
|
|
||||||
val sortOrder: Int,
|
|
||||||
val active: Boolean,
|
|
||||||
val imageUrl: String,
|
val imageUrl: String,
|
||||||
val triggers: List<String>
|
val triggers: List<String>
|
||||||
) {
|
) {
|
||||||
@@ -46,9 +43,6 @@ data class AdminCharacterImageResponse(
|
|||||||
characterId = entity.chatCharacter.id!!,
|
characterId = entity.chatCharacter.id!!,
|
||||||
imagePriceCan = entity.imagePriceCan,
|
imagePriceCan = entity.imagePriceCan,
|
||||||
messagePriceCan = entity.messagePriceCan,
|
messagePriceCan = entity.messagePriceCan,
|
||||||
isAdult = entity.isAdult,
|
|
||||||
sortOrder = entity.sortOrder,
|
|
||||||
active = entity.isActive,
|
|
||||||
imageUrl = url,
|
imageUrl = url,
|
||||||
triggers = entity.triggerMappings.map { it.tag.word }
|
triggers = entity.triggerMappings.map { it.tag.word }
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -55,7 +55,6 @@ class CharacterImageController(
|
|||||||
imageUrl = url,
|
imageUrl = url,
|
||||||
isOwned = isOwned,
|
isOwned = isOwned,
|
||||||
imagePriceCan = img.imagePriceCan,
|
imagePriceCan = img.imagePriceCan,
|
||||||
isAdult = img.isAdult,
|
|
||||||
sortOrder = img.sortOrder
|
sortOrder = img.sortOrder
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ data class CharacterImageListItemResponse(
|
|||||||
@JsonProperty("imageUrl") val imageUrl: String,
|
@JsonProperty("imageUrl") val imageUrl: String,
|
||||||
@JsonProperty("isOwned") val isOwned: Boolean,
|
@JsonProperty("isOwned") val isOwned: Boolean,
|
||||||
@JsonProperty("imagePriceCan") val imagePriceCan: Long,
|
@JsonProperty("imagePriceCan") val imagePriceCan: Long,
|
||||||
@JsonProperty("isAdult") val isAdult: Boolean,
|
|
||||||
@JsonProperty("sortOrder") val sortOrder: Int
|
@JsonProperty("sortOrder") val sortOrder: Int
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user