package cn.flightfeather.thirdapp.httpservice;
|
|
import cn.flightfeather.thirdapp.bean.entity.Site;
|
import okhttp3.ResponseBody;
|
import retrofit2.Call;
|
import retrofit2.http.Body;
|
import retrofit2.http.GET;
|
import retrofit2.http.POST;
|
import retrofit2.http.PUT;
|
import retrofit2.http.Path;
|
|
/**
|
* Created by hyhb01 on 2018/3/8.
|
*/
|
|
public interface SiteDetailService {
|
@PUT("site/")
|
Call<ResponseBody> putSite (@Body Site site);
|
|
@POST("site/")
|
Call<ResponseBody> updateSite (@Body Site site);
|
|
@GET("site/findbyscense/{scenseid}")
|
Call<Site> findByScenseID(@Path("scenseid") String scenseid);
|
}
|