package com.adealink.weparty.gift.datasource.remote

import com.adealink.frame.base.Rlt
import com.adealink.frame.network.data.Res
import com.adealink.weparty.gift.data.GiftListReq
import com.adealink.weparty.gift.data.GiftListRes
import com.adealink.weparty.gift.data.GiftResourceReq
import com.adealink.weparty.gift.data.GiftResourceRes
import com.adealink.weparty.gift.data.SendGiftReq
import com.adealink.weparty.gift.data.SendGiftRes
import retrofit2.http.Body
import retrofit2.http.POST

interface GiftHttpService {

    @POST("list/gift/list")
    suspend fun giftList(@Body req: GiftListReq): Rlt<Res<GiftListRes>>

//    @POST("list/gift/category")
//    suspend fun giftCategory(@Body req: GiftCategoryReq): Rlt<Res<GiftCategoryRes>>


    @POST("list/gift/send")
    suspend fun sendGift(@Body req: SendGiftReq): Rlt<Res<SendGiftRes>>

    @POST("gift/resource/list")
    suspend fun giftResource(@Body req: GiftResourceReq): Rlt<Res<GiftResourceRes>>

}