1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package cn.flightfeather.thirdapp.httpservice;
 
import java.util.List;
 
import cn.flightfeather.thirdapp.bean.Userinfo;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
 
/**
 * Created by linli on 2018/1/23.
 * 用户信息的Service
 */
 
public interface UserInfoService {
    @GET("userinfo/{usertypeid}")
    Call<List<Userinfo>> getUserByTypeId(@Path("usertypeid") String typeId);
 
    @GET("userinfo")
    Call<List<Userinfo>> getAllUser();
 
}