package com.adealink.weparty.playmatesetting.datasource.remote

import com.adealink.frame.base.Rlt
import com.adealink.frame.network.data.Res
import com.adealink.weparty.playmatesetting.data.PlaymateSettingFormData
import com.adealink.weparty.playmatesetting.data.PlaymateSettingFormReq
import com.adealink.weparty.playmatesetting.data.PlaymateSettingFormSubmitReq
import retrofit2.http.Body
import retrofit2.http.POST

interface PlaymateSettingHttpService {

    @POST("skill/editInfo/get")
    suspend fun getEditForm(@Body req: PlaymateSettingFormReq): Rlt<Res<PlaymateSettingFormData>>

    @POST("skill/edit")
    suspend fun submitEdit(@Body req: PlaymateSettingFormSubmitReq): Rlt<Res<Any>>
}