package com.adealink.weparty.im.datasource.remote

import com.adealink.frame.base.Rlt
import com.adealink.frame.network.data.Res
import com.adealink.weparty.im.data.IMBlackListReq
import com.adealink.weparty.im.data.IMBlackListRes
import com.adealink.weparty.im.data.IMBlackReq
import com.adealink.weparty.im.data.IMIsBlackReq
import com.adealink.weparty.im.data.IMIsBlackRes
import retrofit2.http.Body
import retrofit2.http.POST

interface IMHttpService {

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


    @POST("im/pullInBlacklist")
    suspend fun isBlack(@Body req: IMIsBlackReq): Rlt<Res<IMIsBlackRes>>

    @POST("im/pullInBlacklist")
    suspend fun imBlackList(@Body req: IMBlackListReq): Rlt<Res<IMBlackListRes>>

    @POST("im/userSign")
    suspend fun imUserSign(): Rlt<Res<String>>
}