package com.adealink.weparty.wallet.datasource.remote

import com.adealink.frame.base.Rlt
import com.adealink.frame.network.data.Res
import com.adealink.weparty.wallet.data.WalletRes
import com.adealink.weparty.wallet.detail.data.DetailReq
import com.adealink.weparty.wallet.detail.data.DetailRes
import retrofit2.http.Body
import retrofit2.http.Core
import retrofit2.http.POST

interface WalletHttpService {

    @Core
    @POST("user/my/wallet")
    suspend fun pullWallet(): Rlt<Res<WalletRes>>


    @POST("user/my/wallet")
    suspend fun pullDetail(@Body req: DetailReq): Rlt<Res<DetailRes>>
}