mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-04 19:17:27 +08:00
[O] Replace CM
This commit is contained in:
@@ -70,6 +70,8 @@ class ChusanController(
|
|||||||
data["c3exp"] = true
|
data["c3exp"] = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (api.startsWith("CM") && api !in handlers) api = api.removePrefix("CM")
|
||||||
|
|
||||||
if (api !in noopEndpoint && !handlers.containsKey(api)) {
|
if (api !in noopEndpoint && !handlers.containsKey(api)) {
|
||||||
log.warn("Chu3 > $api not found")
|
log.warn("Chu3 > $api not found")
|
||||||
return """{"returnCode":"1","apiName":"$api"}"""
|
return """{"returnCode":"1","apiName":"$api"}"""
|
||||||
|
|||||||
Reference in New Issue
Block a user