package com.cnooc.expert.external.expert.api;

import com.cnooc.expert.external.expert.model.request.ExpertInfoGetReq;
import com.cnooc.expert.external.expert.model.response.ExpertInfoGetTestResp;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.HeaderMap;
import retrofit2.http.POST;

import java.util.Map;

public interface ExpertServiceApi {

    @GET("/api")
    Call<ExpertInfoGetTestResp> expertDetailGet(@HeaderMap Map<String, Object> headers);

    @POST("/")
    Call<ExpertInfoGetTestResp> expertDetailUpDate(@HeaderMap Map<String, Object> headers, @Body ExpertInfoGetReq user);

}
