MD5 校验值:27cf44ec6e0720408f5ef017a90a3331
TestService.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package com.jb.ga0.commerce.util.retrofit.test; import java.util.List; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Headers; import retrofit2.http.Url; public interface TestService { public static class AbDatas { public AbInfos infos; } public static class AbInfos { public List<AbCfg> cfgs; } public static class AbResponse { public AbDatas datas; public boolean success; } @GET Call<AbResponse> getAbTest(@Url String str); @GET Call<HttpResult<List<ASubject>>> getMovie(@Url String str); @Headers({"repeat_request_key: https://api.douban.com/v2/movie/repeat"}) @GET Call<HttpResult<List<ASubject>>> getMovieRepeat(@Url String str); @Headers({"retry_after_net_ok_key: https://api.douban.com/v2/movie/retry"}) @GET Call<HttpResult<List<ASubject>>> getMovieRetry(@Url String str); public static class AbCfg { public int cfg_id; public int cfg_tb_id; public int plug_ins_update; public String toString() { return String.format("{cfg_tb_id=%d, cfg_id=%d, plug_ins_update=%d}", Integer.valueOf(this.cfg_tb_id), Integer.valueOf(this.cfg_id), Integer.valueOf(this.plug_ins_update)); } } }