MD5 校验值:0dedfe548c7636ed7f4304e53560273f
DataApi.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package com.royole.userguide.model.http.api; import com.royole.userguide.model.http.bean.response.BannerDataResponse; import com.royole.userguide.model.http.bean.response.BannerDetailsDataResponse; import com.royole.userguide.model.http.bean.response.EntryDataResponse; import com.royole.userguide.model.http.bean.response.PlateDataResponse; import com.royole.userguide.model.http.bean.response.PushMsgResponse; import d.a.g; import retrofit2.http.GET; import retrofit2.http.Headers; import retrofit2.http.Path; import retrofit2.http.Query; public interface DataApi { public static final String BASE_URL = "http://helper.royole.com/"; @Headers({"NeedToken: true"}) @GET("helper/{lang}/{version}/carousel") g<BannerDataResponse> getBannerData(@Path("lang") String str, @Path("version") int i); @Headers({"NeedToken: true"}) @GET("helper/{lang}/{version}/carousel/{id}") g<BannerDetailsDataResponse> getBannerDetailsData(@Path("lang") String str, @Path("version") int i, @Path("id") int i2); @Headers({"NeedToken: true"}) @GET("helper/{lang}/{tabId}/entry") g<EntryDataResponse> getEntryData(@Path("lang") String str, @Path("tabId") String str2); @Headers({"NeedToken: true"}) @GET("helper/{lang}/{version}/tab") g<PlateDataResponse> getPlateData(@Path("lang") String str, @Path("version") int i); @Headers({"NeedToken: true"}) @GET("helper/{version}/{lang}/message") g<PushMsgResponse> getPushMsg(@Path("lang") String str, @Path("version") int i, @Query("deviceId") String str2); }