1.发布新包
This commit is contained in:
@@ -108,7 +108,7 @@ public class RetrofitClient {
|
||||
sslContext.init(null, new TrustManager[]{trustAllCert}, new SecureRandom());
|
||||
|
||||
final OkHttpClient client = new OkHttpClient.Builder()
|
||||
// .addInterceptor(new LoggerInterceptor("HttpLog", true))
|
||||
// .addInterceptor(new LogInterceptor())
|
||||
.addInterceptor(new DataLoggingInterceptor(new DataLogger()))
|
||||
.addInterceptor(new AccessTokenInterceptor(headers))
|
||||
.proxy(Proxy.NO_PROXY)
|
||||
|
||||
Reference in New Issue
Block a user