feat(member): 팬심M 및 X URL 필드를 프로필 응답에 연동한다

This commit is contained in:
2026-02-20 19:31:13 +09:00
parent c3a2ca66f8
commit ecef49393b
12 changed files with 50 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ data class CreatorResponse(
val tags: List<String>,
val introduce: String = "",
val instagramUrl: String? = null,
val fancimmUrl: String? = null,
val xUrl: String? = null,
val youtubeUrl: String? = null,
val websiteUrl: String? = null,
val blogUrl: String? = null,

View File

@@ -372,6 +372,8 @@ class ExplorerService(
tags = creatorAccount.tags.asSequence().filter { it.tag.isActive }.map { it.tag.tag }.toList(),
introduce = creatorAccount.introduce,
instagramUrl = creatorAccount.instagramUrl,
fancimmUrl = creatorAccount.fancimmUrl,
xUrl = creatorAccount.xUrl,
youtubeUrl = creatorAccount.youtubeUrl,
websiteUrl = creatorAccount.websiteUrl,
blogUrl = creatorAccount.blogUrl,

View File

@@ -6,6 +6,8 @@ data class GetLiveRoomUserProfileResponse(
val profileUrl: String,
val gender: String,
val instagramUrl: String,
val fancimmUrl: String,
val xUrl: String,
val youtubeUrl: String,
val websiteUrl: String,
val blogUrl: String,

View File

@@ -1098,6 +1098,8 @@ class LiveRoomService(
else -> messageSource.getMessage("member.gender.unknown", langContext.lang)
}.orEmpty(),
instagramUrl = user.instagramUrl,
fancimmUrl = user.fancimmUrl,
xUrl = user.xUrl,
youtubeUrl = user.youtubeUrl,
websiteUrl = user.websiteUrl,
blogUrl = user.blogUrl,

View File

@@ -31,6 +31,8 @@ data class GetRoomDetailManager(
val introduce: String,
val youtubeUrl: String?,
val instagramUrl: String?,
val fancimmUrl: String?,
val xUrl: String?,
val websiteUrl: String?,
val blogUrl: String?,
val profileImageUrl: String,
@@ -42,6 +44,8 @@ data class GetRoomDetailManager(
introduce = member.introduce,
youtubeUrl = member.youtubeUrl,
instagramUrl = member.instagramUrl,
fancimmUrl = member.fancimmUrl,
xUrl = member.xUrl,
websiteUrl = member.websiteUrl,
blogUrl = member.blogUrl,
profileImageUrl = if (member.profileImage != null) {

View File

@@ -81,6 +81,8 @@ data class Member(
// SNS
var instagramUrl = ""
var fancimmUrl = ""
var xUrl = ""
var youtubeUrl = ""
var websiteUrl = ""
var blogUrl = ""

View File

@@ -301,6 +301,8 @@ class MemberService(
point = totalPoint,
youtubeUrl = member.youtubeUrl,
instagramUrl = member.instagramUrl,
fancimmUrl = member.fancimmUrl,
xUrl = member.xUrl,
websiteUrl = member.websiteUrl,
blogUrl = member.blogUrl,
liveReservationCount = liveReservationCount,
@@ -714,6 +716,14 @@ class MemberService(
member.instagramUrl = profileUpdateRequest.instagramUrl
}
if (profileUpdateRequest.fancimmUrl != null) {
member.fancimmUrl = profileUpdateRequest.fancimmUrl
}
if (profileUpdateRequest.xUrl != null) {
member.xUrl = profileUpdateRequest.xUrl
}
if (profileUpdateRequest.websiteUrl != null) {
member.websiteUrl = profileUpdateRequest.websiteUrl
}

View File

@@ -10,6 +10,8 @@ data class ProfileResponse(
val rewardCan: Int,
val youtubeUrl: String?,
val instagramUrl: String?,
val fancimmUrl: String?,
val xUrl: String?,
val blogUrl: String?,
val websiteUrl: String?,
val introduce: String,
@@ -29,6 +31,8 @@ data class ProfileResponse(
rewardCan = member.getRewardCan(container),
youtubeUrl = member.youtubeUrl,
instagramUrl = member.instagramUrl,
fancimmUrl = member.fancimmUrl,
xUrl = member.xUrl,
websiteUrl = member.websiteUrl,
blogUrl = member.blogUrl,
introduce = member.introduce,

View File

@@ -11,6 +11,8 @@ data class ProfileUpdateRequest(
val introduce: String? = null,
val youtubeUrl: String? = null,
val instagramUrl: String? = null,
val fancimmUrl: String? = null,
val xUrl: String? = null,
val websiteUrl: String? = null,
val blogUrl: String? = null,
val isVisibleDonationRank: Boolean? = null,

View File

@@ -10,6 +10,8 @@ data class MyPageResponse(
val point: Int,
val youtubeUrl: String?,
val instagramUrl: String?,
val fancimmUrl: String? = null,
val xUrl: String? = null,
val websiteUrl: String? = null,
val blogUrl: String? = null,
val liveReservationCount: Int,