feat(profile): 카카오 오픈채팅 URL 필드로 프로필 응답과 수정을 통일한다

This commit is contained in:
2026-02-24 17:22:29 +09:00
parent 1650ed402c
commit 772883993b
11 changed files with 34 additions and 32 deletions

View File

@@ -10,8 +10,7 @@ data class CreatorResponse(
val fancimmUrl: String? = null,
val xUrl: String? = null,
val youtubeUrl: String? = null,
val websiteUrl: String? = null,
val blogUrl: String? = null,
val kakaoOpenChatUrl: String? = null,
val isFollow: Boolean,
val isNotify: Boolean,
val isNotification: Boolean,

View File

@@ -248,8 +248,7 @@ class ExplorerService(
fancimmUrl = creatorAccount.fancimmUrl,
xUrl = creatorAccount.xUrl,
youtubeUrl = creatorAccount.youtubeUrl,
websiteUrl = creatorAccount.websiteUrl,
blogUrl = creatorAccount.blogUrl
kakaoOpenChatUrl = creatorAccount.websiteUrl
)
}
@@ -451,8 +450,7 @@ class ExplorerService(
fancimmUrl = creatorAccount.fancimmUrl,
xUrl = creatorAccount.xUrl,
youtubeUrl = creatorAccount.youtubeUrl,
websiteUrl = creatorAccount.websiteUrl,
blogUrl = creatorAccount.blogUrl,
kakaoOpenChatUrl = creatorAccount.websiteUrl,
isFollow = creatorFollowing?.isFollow ?: false,
isNotify = creatorFollowing?.isNotify ?: false,
isNotification = creatorFollowing?.isFollow ?: false,

View File

@@ -10,6 +10,5 @@ data class GetCreatorDetailResponse(
val fancimmUrl: String,
val xUrl: String,
val youtubeUrl: String,
val websiteUrl: String,
val blogUrl: String
val kakaoOpenChatUrl: String
)

View File

@@ -9,8 +9,7 @@ data class GetLiveRoomUserProfileResponse(
val fancimmUrl: String,
val xUrl: String,
val youtubeUrl: String,
val websiteUrl: String,
val blogUrl: String,
val kakaoOpenChatUrl: String,
val introduce: String,
val tags: String,
val isSpeaker: Boolean?,

View File

@@ -1123,8 +1123,7 @@ class LiveRoomService(
fancimmUrl = user.fancimmUrl,
xUrl = user.xUrl,
youtubeUrl = user.youtubeUrl,
websiteUrl = user.websiteUrl,
blogUrl = user.blogUrl,
kakaoOpenChatUrl = user.websiteUrl,
introduce = user.introduce,
tags = user.tags
.asSequence()

View File

@@ -33,8 +33,7 @@ data class GetRoomDetailManager(
val instagramUrl: String?,
val fancimmUrl: String?,
val xUrl: String?,
val websiteUrl: String?,
val blogUrl: String?,
val kakaoOpenChatUrl: String?,
val profileImageUrl: String,
val isCreator: Boolean
) {
@@ -46,8 +45,7 @@ data class GetRoomDetailManager(
instagramUrl = member.instagramUrl,
fancimmUrl = member.fancimmUrl,
xUrl = member.xUrl,
websiteUrl = member.websiteUrl,
blogUrl = member.blogUrl,
kakaoOpenChatUrl = member.websiteUrl,
profileImageUrl = if (member.profileImage != null) {
"$cloudFrontHost/${member.profileImage}"
} else {

View File

@@ -305,8 +305,7 @@ class MemberService(
instagramUrl = member.instagramUrl,
fancimmUrl = member.fancimmUrl,
xUrl = member.xUrl,
websiteUrl = member.websiteUrl,
blogUrl = member.blogUrl,
kakaoOpenChatUrl = member.websiteUrl,
liveReservationCount = liveReservationCount,
isAuth = member.auth != null,
orderList = orderList
@@ -737,12 +736,8 @@ class MemberService(
member.xUrl = profileUpdateRequest.xUrl
}
if (profileUpdateRequest.websiteUrl != null) {
member.websiteUrl = profileUpdateRequest.websiteUrl
}
if (profileUpdateRequest.blogUrl != null) {
member.blogUrl = profileUpdateRequest.blogUrl
if (profileUpdateRequest.kakaoOpenChatUrl != null) {
member.websiteUrl = profileUpdateRequest.kakaoOpenChatUrl
}
if (profileUpdateRequest.isVisibleDonationRank != null) {

View File

@@ -12,8 +12,7 @@ data class ProfileResponse(
val instagramUrl: String?,
val fancimmUrl: String?,
val xUrl: String?,
val blogUrl: String?,
val websiteUrl: String?,
val kakaoOpenChatUrl: String?,
val introduce: String,
val tags: List<String>
) {
@@ -33,8 +32,7 @@ data class ProfileResponse(
instagramUrl = member.instagramUrl,
fancimmUrl = member.fancimmUrl,
xUrl = member.xUrl,
websiteUrl = member.websiteUrl,
blogUrl = member.blogUrl,
kakaoOpenChatUrl = member.websiteUrl,
introduce = member.introduce,
tags = member.tags.asSequence().filter { it.tag.isActive }.map { it.tag.tag }.toList()
)

View File

@@ -13,8 +13,7 @@ data class ProfileUpdateRequest(
val instagramUrl: String? = null,
val fancimmUrl: String? = null,
val xUrl: String? = null,
val websiteUrl: String? = null,
val blogUrl: String? = null,
val kakaoOpenChatUrl: String? = null,
val isVisibleDonationRank: Boolean? = null,
val donationRankingPeriod: DonationRankingPeriod? = null,
val container: String

View File

@@ -12,8 +12,7 @@ data class MyPageResponse(
val instagramUrl: String?,
val fancimmUrl: String? = null,
val xUrl: String? = null,
val websiteUrl: String? = null,
val blogUrl: String? = null,
val kakaoOpenChatUrl: String? = null,
val liveReservationCount: Int,
val isAuth: Boolean,
val orderList: GetAudioContentOrderListResponse