mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
fix: remove debug
This commit is contained in:
parent
29dfc1590b
commit
a6f570e4f0
@ -159,23 +159,4 @@ fun Routing.otherAction() {
|
|||||||
respond(true, Status.Ok, "success")
|
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)
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user