riku
2025-10-31 1897c4ad5fa73b3f0a36e1aa0e1e9000302a6ace
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
26
27
28
29
30
31
32
33
34
35
package cn.flightfeather.thirdappmodule.httpservice;
 
import java.util.List;
 
import cn.flightfeather.thirdappmodule.bean.entity.Userinfo;
import cn.flightfeather.thirdappmodule.model.bean.UserMap;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
 
/**
 * Created by linli on 2018/1/23.
 * 用户信息的Service
 */
 
public interface UserInfoService {
//    @GET("userinfo/{usertypeid}")
//    Call<List<Userinfo>> getUserByTypeId(@Path("usertypeid") String typeId);
 
    @GET("userinfo/type/get")
    Call<List<Userinfo>> getUserByTypeId(@Query("typeId") Byte typeId);
 
    @GET("userinfo")
    Call<List<Userinfo>> getAllUser();
 
    @POST("userinfo/create")
    Call<Userinfo> createAccount(@Query("sceneId") String sceneId);
 
    @GET("userinfo/scene/get")
    Call<Userinfo> getByScene(@Query("sceneId") String sceneId);
 
    @GET("usermap")
    Call<UserMap> getTZId(@Query("sceneId") String sceneId);
}