From 68cfe5513c629baea2c012be7516f62870f78e6c Mon Sep 17 00:00:00 2001 From: Administrator <1760316362@qq.com> Date: Thu, 18 Jul 2019 09:07:40 +0800 Subject: [PATCH] update --- app/src/main/java/io/legado/app/model/WebBook.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/WebBook.kt b/app/src/main/java/io/legado/app/model/WebBook.kt index 675e0c8d2..d5c22f700 100644 --- a/app/src/main/java/io/legado/app/model/WebBook.kt +++ b/app/src/main/java/io/legado/app/model/WebBook.kt @@ -14,7 +14,7 @@ class WebBook(private val bookSource: BookSource) { fun searchBook(key: String, page: Int?): Coroutine> { return Coroutine.async { bookSource.getSearchRule().searchUrl?.let { searchUrl -> - val analyzeUrl = AnalyzeUrl(searchUrl) + val analyzeUrl = AnalyzeUrl(searchUrl, key, page) val response = when { analyzeUrl.method == AnalyzeUrl.Method.POST -> HttpHelper.getApiService( analyzeUrl.baseUrl