package Ġcom . wj x . android . wan android mv vm . network Ċ Ċ import Ġcom . wj x . android . wan android mv vm . network . response . Base Response Ċ import Ġcom . wj x . android . wan android mv vm . network . response . Empty Response Ċ import Ġcom . wj x . android . wan android mv vm . module . common . model . Article Ċ import Ġcom . wj x . android . wan android mv vm . module . account . model . Login Response Ċ import Ġcom . wj x . android . wan android mv vm . module . account . model . Register Response Ċ import Ġcom . wj x . android . wan android mv vm . module . collect . model . Collect Response Ċ import Ġcom . wj x . android . wan android mv vm . module . home . model . Banner Response Ċ import Ġcom . wj x . android . wan android mv vm . module . home . model . Home Article Response Ċ import Ġcom . wj x . android . wan android mv vm . module . me share . model . Me Share Article Response Ċ import Ġcom . wj x . android . wan android mv vm . module . me share . model . Me Share Response Ċ import Ġcom . wj x . android . wan android mv vm . module . navigation . model . Navigation Tab Name Response Ċ import Ġcom . wj x . android . wan android mv vm . module . project . model . Project Response Ċ import Ġcom . wj x . android . wan android mv vm . module . project . model . Project Tab Response Ċ import Ġcom . wj x . android . wan android mv vm . module . question . model . Question Response Ċ import Ġcom . wj x . android . wan android mv vm . module . rank . model . Integral History ListResponse Ċ import Ġcom . wj x . android . wan android mv vm . module . rank . model . Integral Response Ċ import Ġcom . wj x . android . wan android mv vm . module . rank . model . Rank Response Ċ import Ġcom . wj x . android . wan android mv vm . module . search . model . Hot Key Response Ċ import Ġcom . wj x . android . wan android mv vm . module . search . model . SearchResult Response Ċ import Ġcom . wj x . android . wan android mv vm . module . square . model . Square Response Ċ import Ġcom . wj x . android . wan android mv vm . module . system . model . System Article Response Ċ import Ġcom . wj x . android . wan android mv vm . module . system . model . System Tab Name Response Ċ import Ġcom . wj x . android . wan android mv vm . module . todo . model . Todo Page Response Ċ import Ġcom . wj x . android . wan android mv vm . module . wechat . model . We Chat Article Response Ċ import Ġcom . wj x . android . wan android mv vm . module . wechat . model . We Chat Tab Name Response Ċ import Ġio . reactivex . Observable Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . POST Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ /** Ċ Ġ* ĠCreated Ġwith ĠAndroid ĠStudio . Ċ Ġ* ĠDescription : Ċ Ġ* Ġ@ author : ĠWang jian x ian Ċ Ġ* Ġ@ date : Ġ 2 0 2 0 / 0 2 / 2 5 Ċ Ġ* ĠTime : Ġ 2 0 : 4 1 Ċ Ġ*/ Ċ Ċ interface ĠApi Service Ġ{ ĊĊĠĠĠ Ġ@ POST ("/ user / login ") ĊĠĠĠ Ġfun Ġon Login ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" username ") Ġusername : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" password ") Ġpassword : ĠString ĊĠĠĠ Ġ): ĠObservable < Base Response < Login Response >> ĊĊĠĠĠ Ġ@ POST ("/ user / register ") ĊĠĠĠ Ġfun Ġon Register ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" username ") Ġusername : ĠString , Ġ@ Query (" password ") Ġpassword : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" re password ") Ġre password : ĠString ĊĠĠĠ Ġ): ĠObservable < Base Response < Register Response >> ĊĊĠĠĠ Ġ@ POST ("/ lg / collect /{ id }/ json ") ĊĠĠĠ Ġfun Ġcollect (@ Path (" id ") Ġid : ĠInt ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ POST ("/ lg / un collect _ origin Id /{ id }/ json ") ĊĠĠĠ Ġfun Ġun Collect (@ Path (" id ") Ġid : ĠInt ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ GET ("/ banner / json ") ĊĠĠĠ Ġfun Ġload Banner (): ĠObservable < Base Response < List < Banner Response >>> ĊĊĠĠĠ Ġ@ GET ("/ article / top / json ") ĊĠĠĠ Ġfun Ġload Top Article (): ĠObservable < Base Response < List < Article >>> ĊĊĠĠĠ Ġ@ GET ("/ article / list /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload Home Article (@ Path (" pageNum ") Ġpage Num : ĠInt ): ĠObservable < Base Response < Home Article Response >> ĊĊĠĠĠ Ġ@ GET ("/ wx article / chapter s / json ") ĊĠĠĠ Ġfun Ġload We Chat Tab (): ĠObservable < Base Response < List < We Chat Tab Name Response >>> ĊĊĠĠĠ Ġ@ GET ("/ wx article / list /{ cid }/{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload We Chat Articles (@ Path (" cid ") Ġcid : ĠInt , Ġ@ Path (" pageNum ") Ġpage : ĠInt ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ: ĠObservable < Base Response < We Chat Article Response >> ĊĊĠĠĠ Ġ@ GET ("/ tree / json ") ĊĠĠĠ Ġfun Ġload System Tab (): ĠObservable < Base Response < List < System Tab Name Response >>> ĊĊĠĠĠ Ġ@ GET ("/ article / list /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload System Articles ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" pageNum ") Ġpage Num : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" cid ") Ġid : ĠInt ? ĊĠĠĠ Ġ): ĠObservable < Base Response < System Article Response >> ĊĊĠĠĠ Ġ@ GET ("/ project / tree / json ") ĊĠĠĠ Ġfun Ġload Project Tab (): ĠObservable < Base Response < List < Project Tab Response >>> ĊĊĠĠĠ Ġ@ GET ("/ project / list /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload Project Articles ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" pageNum ") Ġpage Num : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" cid ") Ġcid : ĠInt ĊĠĠĠ Ġ): ĠObservable < Base Response < Project Response >> ĊĊĠĠĠ Ġ@ GET ("/ nav i / json ") ĊĠĠĠ Ġfun Ġload Navigation Tab (): ĠObservable < Base Response < List < Navigation Tab Name Response >>> ĊĊĠĠĠ Ġ@ GET ("/ lg / collect / list /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload Collect Article (@ Path (" pageNum ") Ġpage : ĠInt ): ĠObservable < Base Response < Collect Response >> ĊĊĠĠĠ Ġ@ POST ("/ lg / un collect /{ id }/ json ") ĊĠĠĠ Ġfun Ġun Collect ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" id ") Ġid : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" origin Id ") Ġorigin Id : ĠInt ĊĠĠĠ Ġ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ POST (" lg / collect / add / json ") ĊĠĠĠ Ġfun Ġadd Collect Article ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" title ") Ġtitle : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" author ") Ġauthor : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" link ") Ġlink : ĠString ĊĠĠĠ Ġ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ GET ("/ lg / todo / v 2 / list /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload Todo Data (@ Path (" pageNum ") Ġpage Num : ĠInt ): ĠObservable < Base Response < Todo Page Response >> ĊĊĠĠĠ Ġ@ POST ("/ lg / todo / add / json ") ĊĠĠĠ Ġfun Ġadd Todo ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" title ") Ġtitle : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" content ") Ġcontent : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" date ") Ġdate : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" type ") Ġtype : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" priority ") Ġpriority : ĠInt ĊĠĠĠ Ġ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ POST ("/ lg / todo / delete /{ id }/ json ") ĊĠĠĠ Ġfun Ġdelete Todo (@ Path (" id ") Ġid : ĠInt ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ POST ("/ lg / todo / update /{ id }/ json ") ĊĠĠĠ Ġfun Ġupdate Todo ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" id ") Ġid : ĠInt ?, ĊĠĠĠĠĠĠĠ Ġ@ Query (" title ") Ġtitle : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" content ") Ġcontent : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" date ") Ġdate : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" type ") Ġtype : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" priority ") Ġpriority : ĠInt ĊĠĠĠ Ġ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ POST ("/ lg / todo / done /{ id }/ json ") ĊĠĠĠ Ġfun Ġfinish Todo ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" id ") Ġid : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" status ") Ġstatus : ĠInt ĊĠĠĠ Ġ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ GET (" hot key / json ") ĊĠĠĠ Ġfun Ġload Hot Key (): ĠObservable < Base Response < List < Hot Key Response >>> ĊĊĠĠĠ Ġ@ POST ("/ article / query /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload SearchResult ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" pageNum ") Ġpage Num : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" k ") Ġkey : ĠString ĊĠĠĠ Ġ): ĠObservable < Base Response < SearchResult Response >> ĊĊĠĠĠ Ġ@ GET (" w enda / list /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload Question List (@ Path (" pageNum ") Ġpage Num : ĠInt ): ĠObservable < Base Response < Question Response >> ĊĊĠĠĠ Ġ@ GET (" user / lg / private _ articles /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload Me Share Article (@ Path (" pageNum ") Ġpage Num : ĠInt ): ĠObservable < Base Response < Me Share Response < Me Share Article Response >>> ĊĊĠĠĠ Ġ@ GET (" user _ article / list /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload Square Article (@ Path (" pageNum ") Ġpage Num : ĠInt ): ĠObservable < Base Response < Square Response >> ĊĊĠĠĠ Ġ@ POST (" lg / user _ article / delete /{ id }/ json ") ĊĠĠĠ Ġfun Ġdelete Share Article (@ Path (" id ") Ġid : ĠInt ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ POST (" lg / user _ article / add / json ") ĊĠĠĠ Ġfun Ġadd Share Article ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" title ") Ġtitle : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" link ") Ġlink : ĠString ĊĠĠĠ Ġ): ĠObservable < Base Response < Empty Response >> ĊĊĠĠĠ Ġ@ GET (" coin / rank /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload Rank List (@ Path (" pageNum ") Ġpage Num : ĠInt ): ĠObservable < Base Response < Rank Response >> ĊĊĠĠĠ Ġ@ GET (" lg / coin / userinfo / json ") ĊĠĠĠ Ġfun Ġload Me Rank Info (): ĠObservable < Base Response < Integral Response >> ĊĊĠĠĠ Ġ@ GET ("/ lg / coin / list /{ pageNum }/ json ") ĊĠĠĠ Ġfun Ġload Integral History (@ Path (" pageNum ") Ġpage Num : ĠInt ) Ġ: ĠObservable < Base Response < Integral History ListResponse >> ĊĊĠĠĠ Ġ// Ġä½¿çĶ¨ åįı ç¨ĭ Ġ+ ĠRet rofit 2 . 6 ĊĠĠĠ Ġ@ POST ("/ lg / collect /{ id }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġcollect Co (@ Path (" id ") Ġid : ĠInt ): ĠBase Response < Empty Response > ĊĊĠĠĠ Ġ@ POST ("/ lg / un collect _ origin Id /{ id }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġun Collect Co (@ Path (" id ") Ġid : ĠInt ): ĠBase Response < Empty Response > ĊĊĠĠĠ Ġ@ GET ("/ banner / json ") ĊĠĠĠ Ġsuspend Ġfun Ġload Banner Co () Ġ: ĠBase Response < List < Banner Response >> ĊĊĠĠĠ Ġ@ GET ("/ article / top / json ") ĊĠĠĠ Ġsuspend Ġfun Ġload Top Article Co (): ĠBase Response < List < Article >> ĊĊĠĠĠ Ġ@ GET ("/ article / list /{ pageNum }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġload Home Article Co (@ Path (" pageNum ") Ġpage Num : ĠInt ): ĠBase Response < Home Article Response > ĊĊĠĠĠ Ġ@ POST ("/ user / login ") ĊĠĠĠ Ġsuspend Ġfun Ġon Login Co ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" username ") Ġusername : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" password ") Ġpassword : ĠString ĊĠĠĠ Ġ): ĠBase Response < Login Response > ĊĊĠĠĠ Ġ@ POST ("/ user / register ") ĊĠĠĠ Ġsuspend Ġfun Ġon Register Co ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" username ") Ġusername : ĠString , Ġ@ Query (" password ") Ġpassword : ĠString , ĊĠĠĠĠĠĠĠ Ġ@ Query (" re password ") Ġre password : ĠString ĊĠĠĠ Ġ): ĠBase Response < Register Response > ĊĊĠĠĠ Ġ@ GET ("/ wx article / chapter s / json ") ĊĠĠĠ Ġsuspend Ġfun Ġload We Chat Tab Co (): ĠBase Response < List < We Chat Tab Name Response >> ĊĊĠĠĠ Ġ@ GET ("/ wx article / list /{ cid }/{ pageNum }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġload We Chat Articles Co (@ Path (" cid ") Ġcid : ĠInt , Ġ@ Path (" pageNum ") Ġpage : ĠInt ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ: ĠBase Response < We Chat Article Response > ĊĊĠĠĠ Ġ@ GET ("/ tree / json ") ĊĠĠĠ Ġsuspend Ġfun Ġload System Tab Co (): ĠBase Response < List < System Tab Name Response >> ĊĊĠĠĠ Ġ@ GET ("/ article / list /{ pageNum }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġload System Articles Co ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" pageNum ") Ġpage Num : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" cid ") Ġid : ĠInt ? ĊĠĠĠ Ġ): ĠBase Response < System Article Response > ĊĊĠĠĠ Ġ@ GET ("/ project / tree / json ") ĊĠĠĠ Ġsuspend Ġfun Ġload Project Tab Co (): ĠBase Response < List < Project Tab Response >> ĊĊĠĠĠ Ġ@ GET ("/ project / list /{ pageNum }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġload Project Articles Co ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" pageNum ") Ġpage Num : ĠInt , ĊĠĠĠĠĠĠĠ Ġ@ Query (" cid ") Ġcid : ĠInt ĊĠĠĠ Ġ): ĠBase Response < Project Response > ĊĊĠĠĠ Ġ@ GET ("/ nav i / json ") ĊĠĠĠ Ġsuspend Ġfun Ġload Navigation Tab Co (): ĠBase Response < List < Navigation Tab Name Response >> ĊĊĠĠĠ Ġ@ GET ("/ lg / collect / list /{ pageNum }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġload Collect Article Co (@ Path (" pageNum ") Ġpage : ĠInt ): ĠBase Response < Collect Response > Ċ }