크리에이터 커뮤니티 #102

Merged
klaus merged 18 commits from test into main 2023-12-21 15:10:56 +00:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 7326babc49 - Show all commits

View File

@ -165,6 +165,7 @@ class CreatorCommunityService(
GetCommunityPostListResponse(
postId = it.id!!,
creatorId = it.member!!.id!!,
creatorNickname = it.member!!.nickname,
creatorProfileUrl = if (it.member!!.profileImage != null) {
"$imageHost/${it.member!!.profileImage}"
@ -221,6 +222,7 @@ class CreatorCommunityService(
return GetCommunityPostListResponse(
postId = post.id!!,
creatorId = post.member!!.id!!,
creatorNickname = post.member!!.nickname,
creatorProfileUrl = if (post.member!!.profileImage != null) {
"$imageHost/${post.member!!.profileImage}"
@ -388,6 +390,7 @@ class CreatorCommunityService(
GetCommunityPostListResponse(
postId = it.id!!,
creatorId = it.member!!.id!!,
creatorNickname = it.member!!.nickname,
creatorProfileUrl = if (it.member!!.profileImage != null) {
"$imageHost/${it.member!!.profileImage}"

View File

@ -5,6 +5,7 @@ import kr.co.vividnext.sodalive.explorer.profile.creatorCommunity.comment.GetCom
data class GetCommunityPostListResponse @QueryProjection constructor(
val postId: Long,
val creatorId: Long,
val creatorNickname: String,
val creatorProfileUrl: String,
val imageUrl: String?,