public HttpUrl url() {
return HttpUrl.parse(SpUtils.getUrlByLocalSetting());
}
})
.addCallAdapterFactory(RxJavaCallAdapterFactory.create())
<BUG>.addConverterFactory(GsonConverterFactory.create())
.build();</BUG>
return retrofit.create(ApiService.class);
}
@Provides

public HttpUrl url() {
return HttpUrl.parse(SpUtils.getUrlByLocalSetting());
}
})
.addCallAdapterFactory(RxJavaCallAdapterFactory.create())
.addConverterFactory(GsonConverterFactory.create())
.client(client)
.build();
return retrofit.create(ApiService.class);
}
@Provides
