Retrofit超简单demo

1.定义个接口api public interface ShopService { @GET("/course_api/wares/hot") Call<ShopBean> getShop(@Query("pageSize") int pageSize, @Query("curPage") int curPage); } 这里写明了使用get仍是post @Query("curPa
相关文章
相关标签/搜索