Open rainit2006 opened 7 years ago
@Path, @Query
Consider this is the url:
www.app.net/api/searchtypes/862189/filters?Type=6&SearchText=School
Now this is the call:
@GET("/api/searchtypes/{Id}/filters")
Call
www.app.net/api/searchtypes/{Path}/filters?Type={Query}&SearchText={Query}
入门讲座 http://www.jianshu.com/p/308f3c54abdd
入门源码 https://github.com/ikidou/Retrofit2Demo/blob/master/client/src/main/java/com/github/ikidou/Example01.java https://github.com/452MJ/C9MJ