mirror of https://github.com/hykilpikonna/AquaDX
[F] Ongeki: Field inconsistencies
parent
348b2e17f0
commit
a9c0fe5ff8
|
@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue