举报:参数错误
This commit is contained in:
@@ -810,7 +810,7 @@ export function checkRouteParam(route: string, msg: any) {
|
||||
}
|
||||
case "chat.chatHandler.accuse":
|
||||
{
|
||||
if(!checkNaturalStrings(msg.targetRoleId, msg.targetMsgCode)) return false;
|
||||
if(!checkStringIfExist(msg.targetRoleId, msg.targetMsgCode)) return false;
|
||||
if(!checkStringIfExist(msg.reason)) return false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user