From 832e6b70f80aae57a475ce19aaf091aa42ddda32 Mon Sep 17 00:00:00 2001 From: yimiao Date: Mon, 19 Jul 2021 18:20:29 +0800 Subject: [PATCH] =?UTF-8?q?author:wangyimiao=20desc:=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E9=BB=98=E8=AE=A4HOST?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/common/commonlib/net/RequestManager.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/commonLib/src/main/java/com/common/commonlib/net/RequestManager.kt b/commonLib/src/main/java/com/common/commonlib/net/RequestManager.kt index e54071f..7051402 100644 --- a/commonLib/src/main/java/com/common/commonlib/net/RequestManager.kt +++ b/commonLib/src/main/java/com/common/commonlib/net/RequestManager.kt @@ -1,7 +1,6 @@ package com.common.commonlib.net import com.common.commonlib.net.interceptor.BaseUrlInterceptor -import com.common.commonlib.net.interceptor.HttpCommonInterceptor import com.common.commonlib.utils.BaseUtils import okhttp3.Interceptor import okhttp3.OkHttpClient @@ -61,14 +60,14 @@ object RequestManager { .client(builder.build()) .addCallAdapterFactory(RxJava2CallAdapterFactory.create()) .addConverterFactory(GsonConverterFactory.create()) - .baseUrl("https://www.wanandroid.com") + .baseUrl("https://www") .build() } else { mRetrofit = Retrofit.Builder() .client(builder.build()) .addCallAdapterFactory(RxJava2CallAdapterFactory.create()) .addConverterFactory(GsonConverterFactory.create()) - .baseUrl("https://www.wanandroid.com") + .baseUrl("https://www") .build() } }