package com.adealink.weparty.setting.datasource.remote

import com.adealink.frame.base.Rlt
import com.adealink.frame.network.data.Res
import com.adealink.weparty.setting.report.FeedbackReq
import com.adealink.weparty.setting.report.ReportLanguageReq
import com.adealink.weparty.setting.report.ReportReq
import retrofit2.http.Body
import retrofit2.http.POST

interface SettingHttpService {

    @POST("report/user")
    suspend fun report(@Body req: ReportReq): Rlt<Res<Any>>

    @POST("feedback/submit")
    suspend fun feedback(@Body req: FeedbackReq): Rlt<Res<Any>>

    @POST("user/set/appLocaleLangSet")
    suspend fun reportLanguage(@Body req: ReportLanguageReq): Rlt<Res<Any>>

}