package cn.flightfeather.thirdappmodule.httpservice; import cn.flightfeather.thirdappmodule.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 putSite (@Body Site site); @POST("site/") Call updateSite (@Body Site site); @GET("site/findbyscense/{scenseid}") Call findByScenseID(@Path("scenseid") String scenseid); }