feat(破解封号): 添加接口参数校验
This commit is contained in:
@@ -558,6 +558,9 @@ export class NormalBattleHandler {
|
|||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
async blockByRecordBattleCheat(roleId: string, type: number) {
|
async blockByRecordBattleCheat(roleId: string, type: number) {
|
||||||
|
if(roleId == undefined || type == undefined){
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (type && type === CHECT_BATTLE_TYPE) {
|
if (type && type === CHECT_BATTLE_TYPE) {
|
||||||
// console.log("blockByRecordBattleCheat----type=", type);
|
// console.log("blockByRecordBattleCheat----type=", type);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user