我如何使用正确的语法访问: api / kiosk / search / staff?companyID = {companyID}& locationID = {locationID}& name = {name}
现在我这样做:
@GET("api/kiosk/search/staff?companyID={companyID}&locationID={locationID}&name={name}")
Call<Staff[]> staffItems(@Path("companyID") String companyID,@Query("locationId") String locationId, @Query("name") String name, @Header("Authorization")String auth);
答案 0 :(得分:0)
试试这个
@GET("api/kiosk/search/staff")
Call<Staff[]> staffItems(@Query("companyID") String companyID,@Query("locationId") String locationId, @Query("name") String
name, @Header("Authorization")String auth);