Commit 1e5fb1e1 authored by 赵鹏翔's avatar 赵鹏翔

update

parent 59ea0474
...@@ -39,16 +39,6 @@ class ApiClient private constructor() { ...@@ -39,16 +39,6 @@ class ApiClient private constructor() {
level = MiyaHttpLoggingInterceptor.Level.BODY level = MiyaHttpLoggingInterceptor.Level.BODY
} }
// val httpLoggingInterceptor =
// MiyaHttpLoggingInterceptor {
// Log.e("####", it)
// if (!LogFileUtils.isProhibitWrite) {
// LogFileUtils.writeLog(BaseApplication.getApplication(), it)
// }
// }
// .apply { level = MiyaHttpLoggingInterceptor.Level.BODY }
val socketFactory = arrayOfNulls<SSLSocketFactory>(1) val socketFactory = arrayOfNulls<SSLSocketFactory>(1)
val trustManager = arrayOfNulls<X509TrustManager>(1) val trustManager = arrayOfNulls<X509TrustManager>(1)
SSLCertificatesInit.init(socketFactory, trustManager) SSLCertificatesInit.init(socketFactory, trustManager)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment