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

import com.cnooc.expert.external.expert.model.request.ExpertInfoAppReq;
import com.cnooc.expert.external.expert.model.request.ExpertInfoReq;
import com.cnooc.expert.external.expert.model.response.ExpertInfoAppResp;
import com.cnooc.expert.external.expert.model.response.ExpertInfoResp;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.HeaderMap;
import retrofit2.http.POST;

import java.util.Map;

public interface LoginServiceApi {

    @POST("/api/saas-expert/mini/zjfw/zggrxxgl/querySingleByShengFenZhengOrMobile")
    Call<ExpertInfoResp> querySingleByShengFenZhengOrMobile(@HeaderMap Map<String, Object> headers, @Body ExpertInfoReq expertInfoReq);

    @POST("/api/saas-expert/mini/zjfw/zggrxxgl/getZhuanJiaInfoAppById")
    Call<ExpertInfoAppResp> getZhuanJiaInfoAppById(@HeaderMap Map<String, Object> headers, @Body ExpertInfoAppReq expertInfoAppReq);

    @POST("/api/saas-expert/mini/zjfw/zggrxxgl/saveZhuanJiaInfoApp")
    Call<ExpertInfoAppResp> saveZhuanJiaInfoApp(@HeaderMap Map<String, Object> headers, @Body ExpertInfoAppReq expertInfoAppReq);

    @POST("/api/saas-expert/mini/zjfw/zggrxxgl/updateZhuanJiaInfoApp")
    Call<ExpertInfoAppResp> updateZhuanJiaInfoApp(@HeaderMap Map<String, Object> headers, @Body ExpertInfoAppReq expertInfoAppReq);
}
