(节日活动): 接口校验
This commit is contained in:
@@ -127,6 +127,7 @@ export function checkRouteParam(route: string, msg: any) {
|
||||
case 'activity.bindPhoneHandler.receiveReward':
|
||||
case 'activity.bindPhoneHandler.receiveGiftCode':
|
||||
case 'activity.bindPhoneHandler.skipOutSide':
|
||||
case 'activity.dragonBoatHandler.getData':
|
||||
{
|
||||
if(!checkNaturalNumbers(msg.activityId)) return false;
|
||||
break;
|
||||
@@ -2003,6 +2004,17 @@ export function checkRouteParam(route: string, msg: any) {
|
||||
if(!isBoolean(msg.hasComment)) return false;
|
||||
break;
|
||||
}
|
||||
case 'activity.dragonBoatHandler.gameStart':
|
||||
case 'activity.dragonBoatHandler.gameEnd':
|
||||
{
|
||||
if(!checkNaturalNumbers(msg.activityId, msg.id)) return false;
|
||||
break;
|
||||
}
|
||||
case 'activity.dragonBoatHandler.buyCnt':
|
||||
{
|
||||
if(!checkNaturalNumbers(msg.activityId, msg.count)) return false;
|
||||
break;
|
||||
}
|
||||
case 'activity.activityHandler.debugActivityMemory':
|
||||
case 'activity.popUpShopHandler.debugPushPopUpShop':
|
||||
case 'activity.popUpShopHandler.debugPushPopUpInterval':
|
||||
|
||||
Reference in New Issue
Block a user