retrofit2.0+OkHttpClient 中新增公共参数get/post及网络请求日志打印
需求1:更加统一方便管理公共参数需求2:方便调试http请求日志,查看请求参数和返回参数新增一个网络拦截器,代码如下:LogInterceptor类:publicclassLogInterceptorimplementsInterceptor{publicstaticStringTAG="LogInterceptor";@Overridepublicokhttp3.Responseintercep