1.Api
//http://gank.io/api/data/%E7%A6%8F%E5%88%A9/10/1
public static final String wealUrl ="http://gank.io/api/";
//http://www.93.gov.cn/93app/data.do?channelId=1&startNum=1
public static final String newsUrl ="http://www.93.gov.cn/93app/";
//http://172.17.8.100/small/user/v1/login
public static final String loginUrl ="http://172.17.8.100/";
2.ApiService
//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);
//http://172.17.8.100/small/user/v1/login
//登录post请求
@POST("small/user/v1/login")
@FormUrlEncoded
Call<LoginInfo> login(@Field("phone") String phone, @Field("pwd") String pwd);