RuffianZhong / Rx-Mvp

RxJava2+Retrofit2+RxLifecycle2+OkHttp3 封装RHttp 使用MVP模式构建项目
348 stars 86 forks source link

添加自定义Interceptor在哪加 #12

Closed mingmingacc closed 5 years ago

mingmingacc commented 5 years ago

您好,添加自定义的Interceptor在哪修改,比如token

RuffianZhong commented 5 years ago

@mingmingacc 你查看一下 RetrofitUtils > getOkHttpClientBase() 在这个方法可以添加 Interceptor,暂时没有提供接口动态添加