From 692b0a0258c3b49f610217a5b2c8850784b50a2b Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 29 Apr 2020 15:05:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index fbd1f28c7..60e2af6f5 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt @@ -197,7 +197,7 @@ class AnalyzeUrl( RequestMethod.POST -> { body?.let { if (it.isJson()) { - requestBody = RequestBody.create(jsonType, GSON.toJson(it)) + requestBody = RequestBody.create(jsonType, it) } else { analyzeFields(it) }