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