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> getUserByTypeId(@Path("usertypeid") String typeId); @GET("userinfo/type/get") Call> getUserByTypeId(@Query("typeId") Byte typeId); @GET("userinfo") Call> getAllUser(); @POST("userinfo/create") Call createAccount(@Query("sceneId") String sceneId); @GET("userinfo/scene/get") Call getByScene(@Query("sceneId") String sceneId); @GET("usermap") Call getTZId(@Query("sceneId") String sceneId); }