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() } }