package com.adealink.weparty.config.datasource.remote

import com.adealink.frame.base.Rlt
import com.adealink.frame.network.data.Res
import com.adealink.weparty.config.data.ApprovingVersionConfigRes
import com.adealink.weparty.config.data.GetGlobalConfigReq
import retrofit2.http.Body
import retrofit2.http.Core
import retrofit2.http.POST

interface ConfigHttpService {
    @Core
    @POST("base/consts/config")
    suspend fun getApprovingVersion(@Body req: GetGlobalConfigReq): Rlt<Res<ApprovingVersionConfigRes>>
}