后台:修改更新活动

This commit is contained in:
luying
2022-07-30 17:21:58 +08:00
parent f38c8b0fc8
commit 347c2ce7ed
10 changed files with 207 additions and 185 deletions
+3 -3
View File
@@ -858,10 +858,10 @@ export function checkRouteParam(route: string, msg: any) {
}
case "gm.gmHandler.updateActivityGroup":
{
let { groupId, groupName, serverIds, activities, type } = msg;
if(!checkNaturalNumbers(groupId, type)) return false;
let { groupId, groupName, serverIds, activityIds, groupType } = msg;
if(!checkNaturalNumbers(groupId, groupType)) return false;
if(!checkNaturalStrings(groupName)) return false;
if(!checkNumberArray(serverIds, activities)) return false;
if(!checkNumberArray(serverIds, activityIds)) return false;
break;
}
case "gm.gmHandler.saveSingleActivityToGroup":