차단 유저 아이디 리스트 가져오기 API 추가

This commit is contained in:
2024-09-04 21:37:40 +09:00
parent 2bd1c99409
commit dd229f15ac
2 changed files with 14 additions and 0 deletions

View File

@@ -358,6 +358,10 @@ class MemberService(
}
}
fun getBlockedMemberIdList(memberId: Long): List<Long> {
return blockMemberRepository.getBlockedMemberIdList(memberId)
}
fun getBlockedMemberList(memberId: Long, offset: Long, limit: Long): GetBlockedMemberListResponse {
val totalCount = blockMemberRepository.getBlockedMemberTotalCount(memberId)
val items = blockMemberRepository.getBlockedMemberList(offset = offset, limit = limit, memberId = memberId)