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