package com.adealink.weparty.profile.datasource.remote

import com.adealink.frame.base.Rlt
import com.adealink.frame.network.data.Res
import com.adealink.weparty.profile.relation.data.BlackReq
import com.adealink.weparty.profile.relation.data.IsBlackReq
import com.adealink.weparty.profile.relation.data.IsBlackRes
import retrofit2.http.Body
import retrofit2.http.POST

interface BlackHttpService {

    @POST("im/pullInBlacklist")
    suspend fun black(
        @Body req: BlackReq
    ): Rlt<Res<Any>>

    @POST("im/blacklist/check")
    suspend fun isBlack(
        @Body req: IsBlackReq
    ): Rlt<Res<IsBlackRes>>



}