参数校验

This commit is contained in:
luying
2022-08-11 20:16:44 +08:00
parent dedc16fb05
commit 5ebdb52ce4
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -753,7 +753,7 @@ export function checkRouteParam(route: string, msg: any) {
}
case "battle.towerBattleHandler.settleTask":
{
if(!checkNaturalNumbers(msg.batchCode, msg.taskCode)) return false;
if(!checkStringIfExist(msg.batchCode, msg.taskCode)) return false;
break;
}
case "battle.towerBattleHandler.receiveBox":