package Ġcn . imp pp . skin . http Ċ Ċ import Ġcn . imp pp . skin . entity .* Ċ import Ġretrofit 2 . http .* Ċ Ċ interface ĠApi Service Ġ{ ĊĠĠĠ Ġ@ Form Url Encoded ĊĠĠĠ Ġ@ POST (" user / login ") Ċ // ĠĠĠ Ġ@ Headers (" Content - Type : application / json ; charset = UTF - 8 ") ĊĠĠĠ Ġsuspend Ġfun Ġlogin (@ Field Map Ġvalue : ĠMap < String , ĠString >): ĠBase Response < User Entity > ĊĊĠĠĠ Ġ@ Form Url Encoded ĊĠĠĠ Ġ@ POST (" user / register ") ĊĠĠĠ Ġsuspend Ġfun Ġregister (@ Field Map Ġvalue : ĠMap < String , ĠString >): ĠBase Response < Register Entity > ĊĊĠĠĠ Ġ@ GET (" article / list /{ page }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġarticle List (@ Path (" page ") Ġpage : ĠInt ): ĠBase Response < Base ListResponse < List < Article Entity >>> ĊĊĠĠĠ Ġ@ GET (" user _ article / list /{ page }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġsquare List (@ Path (" page ") Ġpage : ĠInt ): ĠBase Response < Base ListResponse < List < Square Entity >>> ĊĊĠĠĠ Ġ@ GET ("/ w enda / list /{ page }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġquestion List (@ Path (" page ") Ġpage : ĠInt ): ĠBase Response < Base ListResponse < List < Question Entity >>> ĊĊĠĠĠ Ġ@ GET (" wx article / chapter s / json ") ĊĠĠĠ Ġsuspend Ġfun Ġaccount List (): ĠBase Response < List < Official Account Entity >> ĊĊĠĠĠ Ġ@ GET (" tree / json ") ĊĠĠĠ Ġsuspend Ġfun Ġsystem List (): ĠBase Response < List < Base System Entity >> ĊĊĠĠĠ Ġ@ GET (" project / tree / json ") ĊĠĠĠ Ġsuspend Ġfun ĠprojectName List (): ĠBase Response < List < Project Type Entity >> ĊĊĠĠĠ Ġ@ GET (" project / list /{ page }/ json ") ĊĠĠĠ Ġsuspend Ġfun Ġproject List (@ Path (" page ") Ġpage : ĠInt , Ġ@ Query (" cid ") Ġcid Ġ: ĠInt ) Ġ: ĠBase Response < Base ListResponse < List < Project Entity >>> Ċ }