package Ġcom . pand . kotlin _ eye . network Ċ Ċ import Ġcom . pand . kotlin _ eye . mv vm . model . pojo . Category Ċ import Ġcom . pand . kotlin _ eye . mv vm . model . pojo . G ank Io Data Ċ import Ġcom . pand . kotlin _ eye . mv vm . model . pojo . Home Bean Ċ import Ġcom . pand . kotlin _ eye . mv vm . model . pojo . Version Update Ċ import Ġio . reactivex . Observable Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ import Ġretrofit 2 . http . Url Ċ Ċ /** Ċ Ġ* Ġ@ author ï¼ļ Ġdw c Ċ Ġ* Ġ@ date ï¼ļ Ġ 2 0 1 8 / 2 / 1 Ġ 1 4 : 4 8 Ċ Ġ* Ġ@ desc ï¼ļ Ċ Ġ*/ Ċ interface ĠApi Service Ġ{ ĊĠĠĠ Ġ// çīĪæľ¬ æĽ´æĸ° æİ¥åı£ ĊĠĠĠ Ġ@ GET (" app / version ") ĊĠĠĠ Ġfun Ġupdate Version (@ Query (" version ") Ġversion : ĠString , Ġ@ Query (" platform ") Ġplatform : ĠInt ): ĠObservable < Response Wrapper < Version Update >> ĊĊĠĠĠ Ġ@ GET (" http :// g ank . io / api / data / ç¦ı åĪ© /{ mon }/{ day }") ĊĠĠĠ Ġfun Ġget Splash (@ Path (" mon ") Ġmon : ĠInt ,@ Path (" day ") Ġday : ĠInt ): Observable < G ank Io Data > ĊĠĠĠĠĊĠĠĠ Ġ@ GET (" v 2 / feed ?") ĊĠĠĠ Ġfun Ġget HomePage Data (@ Query (" num ") Ġnumber : ĠNumber ): Observable < Home Bean > ĊĠĠĠĠĊĠĠĠ Ġ@ GET ĊĠĠĠ Ġfun Ġget More Home Data (@ Url Ġurl : ĠString ): ĠObservable < Home Bean > ĊĠĠĠĠĊĠĠĠ Ġ@ GET (" v 4 / categories ") ĊĠĠĠ Ġfun Ġget Category (): Observable < ArrayList < Category >> Ċ }