From a6f570e4f01a6f5f98ce3f226027eaf5927230a4 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Sun, 7 Jul 2024 18:02:41 +0800 Subject: [PATCH] fix: remove debug --- .../shamrock/remote/api/OtherAction.kt | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/api/OtherAction.kt b/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/api/OtherAction.kt index c3531dec..7b77e12e 100644 --- a/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/api/OtherAction.kt +++ b/xposed/src/main/java/moe/fuqiuluo/shamrock/remote/api/OtherAction.kt @@ -159,23 +159,4 @@ fun Routing.otherAction() { respond(true, Status.Ok, "success") } - getOrPost("/dt") { - val version = PlatformUtils.getQQVersionCode() - val qua = PlatformUtils.getQUA() - call.respondText(Json.encodeToString( - buildJsonObject { - put("qua", JsonPrimitive(qua)) - put("version", JsonPrimitive(version)) - } - ), ContentType.Application.Json) - } - - getOrPost("/mmkv") { - val key = fetchOrThrow("key") - call.respondText(Json.encodeToString( - buildJsonObject { - put("value", JsonPrimitive(Dtc.mmKVValue(key))) - } - ), ContentType.Application.Json) - } } \ No newline at end of file