pull/32/head
kunfei 5 years ago
parent 522739a246
commit f56ad432d2
  1. 2
      app/src/main/java/io/legado/app/help/http/HttpHelper.kt

@ -7,7 +7,7 @@ import java.util.concurrent.TimeUnit
object HttpHelper {
private val client: OkHttpClient = getOkHttpClient()
val client: OkHttpClient = getOkHttpClient()
inline fun <reified T> getApiService(baseUrl: String): T {
return getRetrofit(baseUrl).create(T::class.java)

Loading…
Cancel
Save