package com.bw.com.zuoye0316.api;
import com.bw.com.zuoye0316.bean.JsonBean;
import java.util.List;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;
ic interface ApiServer {
@GET(“page_{page}”)
Call<List>getUrl(@Path(“page”)String page);
//http://gank.io/api/data/%E7%A6%8F%E5%88%A9/10/1
@GET("data/%E7%A6%8F%E5%88%A9/10/{page}")
Call<WealInfo> getWeal(@Path("page") int page);
//http://www.93.gov.cn/93app/data.do?channelId=1&startNum=1
@GET("data.do")
Call<NewsInfo> getNews(@Query("channelId") int channelId, @Query("startNum") int startNum);
}