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

@@ -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,