酒吧交友房送礼物。
This commit is contained in:
@@ -49,6 +49,7 @@ import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.TrustManager;
|
||||
import javax.net.ssl.X509TrustManager;
|
||||
|
||||
import lombok.Getter;
|
||||
import okhttp3.Cache;
|
||||
import okhttp3.OkHttpClient;
|
||||
import okhttp3.ResponseBody;
|
||||
@@ -61,11 +62,15 @@ import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory;
|
||||
public class RetrofitClient {
|
||||
|
||||
public static RetrofitClient INSTANCE;
|
||||
|
||||
private static ApiServer sApiServer;
|
||||
public static final int DEFAULT_TIME_OUT = 30;
|
||||
private static OkHttpClient client;
|
||||
private final Retrofit mRetrofit;
|
||||
|
||||
public ApiServer getApiServer() {
|
||||
return sApiServer;
|
||||
}
|
||||
public OkHttpClient getHttpClient() {
|
||||
return client;
|
||||
}
|
||||
@@ -6242,7 +6247,7 @@ public class RetrofitClient {
|
||||
|
||||
}
|
||||
|
||||
private void setCode301(String msg) {
|
||||
public void setCode301(String msg) {
|
||||
try {
|
||||
CommonAppContext.getInstance().clearLoginInfo();
|
||||
ToastUtils.showShort(msg);
|
||||
|
||||
Reference in New Issue
Block a user