500抽:活动格式

This commit is contained in:
luying
2022-07-28 20:27:08 +08:00
parent dbcbabfda6
commit 2806fdd9b1
10 changed files with 205 additions and 200 deletions
+2 -1
View File
@@ -645,7 +645,8 @@ export function checkRouteParam(route: string, msg: any) {
if(!checkNaturalArray(heroes)) return false;
if (heroes.length > LINEUP_NUM) return false;
for(let { actorId, order } of heroes) {
if(!checkNaturalNumbers(actorId, order)) return false;
if(!checkNaturalNumbers(actorId)) return false;
if(!checkNumberIfExist(order)) return false;
}
break;
}