|
|
@@ -49,10 +49,10 @@ public class NetModule {
|
|
|
public Retrofit provideRetrofit(OkHttpClient okhttpClient) {
|
|
|
Retrofit retrofit = new Retrofit.Builder()
|
|
|
.client(okhttpClient)
|
|
|
-// .baseUrl(SheepApp.getInstance().getConnectAddress().getAppUrl()+"v1/")
|
|
|
+ .baseUrl(SheepApp.getInstance().getConnectAddress().getAppUrl()+"v1/")
|
|
|
// .baseUrl("http://10.8.220.239:8080/v1/")
|
|
|
// .baseUrl("http://10.8.240.155:8080/v1/")
|
|
|
- .baseUrl("http://ss.17xmy.com/v1/")
|
|
|
+// .baseUrl("http://ss.17xmy.com/v1/")
|
|
|
.addConverterFactory(StringConverterFactory.create())
|
|
|
.addConverterFactory(FastJsonConverterFactory.create())
|
|
|
// .addConverterFactory(GsonConverterFactory.create(EntityUtils.gson))//
|