mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-04 21:37:26 +08:00
[O] no 200 error :(((((
This commit is contained in:
@@ -16,7 +16,7 @@ class TransferApis {
|
||||
mapOf("gameUrl" to allNet.gameUrl, "userId" to allNet.userId)
|
||||
} catch (e: Exception) {
|
||||
log.error("Transfer check error", e)
|
||||
mapOf("error" to e.message)
|
||||
400 - "Transfer check error: ${e.message}"
|
||||
}
|
||||
|
||||
fun HttpServletResponse.initStream(): PrintWriter {
|
||||
@@ -58,15 +58,6 @@ class TransferApis {
|
||||
mapOf("status" to "ok")
|
||||
} catch (e: Exception) {
|
||||
log.error("Transfer push error", e)
|
||||
mapOf("error" to e.message)
|
||||
400 - "Transfer push error: ${e.message}"
|
||||
}
|
||||
|
||||
@API("/info")
|
||||
fun info() = mapOf(
|
||||
"support" to ls("chu3", "mai2"),
|
||||
"game" to mapOf(
|
||||
"chu3" to ls("SDHD", "2.30"),
|
||||
"mai2" to ls("SDGA", "1.50")
|
||||
)
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user