mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 18:17:27 +08:00
[F] Ongeki: Field inconsistencies
This commit is contained in:
@@ -41,7 +41,7 @@ class OngekiController(
|
|||||||
val token = TokenChecker.tokenShort()
|
val token = TokenChecker.tokenShort()
|
||||||
log.info("$token : $api < ${data.toJson()}")
|
log.info("$token : $api < ${data.toJson()}")
|
||||||
|
|
||||||
val noop = """{"returnCode":"1","apiName":"${api.substringBefore("Api").firstCharLower()}"}"""
|
val noop = """{"returnCode":1,"apiName":"${api.substringBefore("Api").firstCharLower()}"}"""
|
||||||
if (api !in noopEndpoint && !handlers.containsKey(api)) {
|
if (api !in noopEndpoint && !handlers.containsKey(api)) {
|
||||||
log.warn("$token : $api > not found")
|
log.warn("$token : $api > not found")
|
||||||
return noop
|
return noop
|
||||||
|
|||||||
@@ -129,7 +129,10 @@ fun OngekiController.initUser() {
|
|||||||
"headphone" to (o?.headphone ?: 0),
|
"headphone" to (o?.headphone ?: 0),
|
||||||
|
|
||||||
"lastEmoneyBrand" to 4,
|
"lastEmoneyBrand" to 4,
|
||||||
"lastEmoneyCredit" to 10000
|
"lastEmoneyCredit" to 10000,
|
||||||
|
|
||||||
|
"banStatus" to 0,
|
||||||
|
"isWarningConfirmed" to false,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user