From f030104ff213a43712b52491053c73de106fbb1c Mon Sep 17 00:00:00 2001 From: tuuz Date: Mon, 18 Mar 2024 13:23:20 +0800 Subject: [PATCH] =?UTF-8?q?get=5Frecord=E7=9A=84ws=E5=8A=A0=E5=85=A5?= =?UTF-8?q?=E5=8D=95=E7=8B=AC=E7=9A=84md5=E5=AD=97=E6=AE=B5=EF=BC=8C?= =?UTF-8?q?=E6=96=B9=E4=BE=BF=E5=90=8E=E7=BB=ADget=5Ffile=E6=8B=BF?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../moe/fuqiuluo/shamrock/remote/action/handlers/GetFile.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/action/handlers/GetFile.kt b/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/action/handlers/GetFile.kt index 48f797a..a1e9509 100644 --- a/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/action/handlers/GetFile.kt +++ b/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/action/handlers/GetFile.kt @@ -19,7 +19,7 @@ import java.util.Base64 return invoke(file, fileType, session.echo) } - operator fun invoke(file: String, fileType: String, echo: JsonElement = EmptyJsonString): String { + operator fun invoke(file: String, fileType: String = "base64", echo: JsonElement = EmptyJsonString): String { val targetFile = FileUtils.getFileByMd5(file) return if (targetFile.exists()) { when (fileType) {