yale8848 / RetrofitCache

RetrofitCache让retrofit2+okhttp3+rxjava配置缓存如此简单。通过注解配置,可以针对每一个接口灵活配置缓存策略;同时让每一个接口方便支持数据模拟,可以代码减小侵入性,模拟数据可以从内存,Assets,url轻松获取。
MIT License
676 stars 85 forks source link

怎么在请求地址加通用后缀 #18

Closed ysrfeng closed 5 years ago

ysrfeng commented 6 years ago

Mobile:

Android OS:

NetWork:

URL:

LIB Version:


yale8848 commented 6 years ago

自己实现Interceptor,然后在intercept函数中添加字段,如下面的issues; https://github.com/yale8848/RetrofitCache/issues/13