后台:修改更新活动
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user