✨ feat(gvg): 添加debug接口

This commit is contained in:
luying
2023-02-17 10:58:47 +08:00
parent f305ee99c4
commit 040d37dcf8
5 changed files with 65 additions and 4 deletions
+3
View File
@@ -1998,6 +1998,9 @@ export function checkRouteParam(route: string, msg: any) {
case "guild.gvgFightHandler.debugCalRec":
case "guild.gvgFightHandler.debugSaveScore":
case "guild.gvgBattleHandler.createCity":
case "guild.gvgProduceHandler.debugAdjustHarvest":
case "guild.gvgFightHandler.debugSetMyRank":
case "guild.gvgFightHandler.debugSetMyOpp":
{
if (msg.magicWord !== DEBUG_MAGIC_WORD || !isDevelopEnv()) return false;