riku
2022-02-18 d59d55575d913646b7a90fca651904ab889c6723
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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<ResponseBody> putSite (@Body Site site);
 
    @POST("site/")
    Call<ResponseBody> updateSite (@Body Site site);
 
    @GET("site/findbyscense/{scenseid}")
    Call<Site> findByScenseID(@Path("scenseid") String scenseid);
}