feat(节日活动): 中秋活动

This commit is contained in:
luying
2023-08-15 17:52:11 +08:00
parent 4be52d3dfe
commit 7c3a98bb9d
11 changed files with 442 additions and 8 deletions

View File

@@ -130,6 +130,7 @@ export function checkRouteParam(route: string, msg: any) {
case 'activity.bindPhoneHandler.skipOutSide':
case 'activity.dragonBoatHandler.getData':
case 'activity.qixiHandler.getData':
case 'activity.midAutumnHandler.getData':
{
if (!checkNaturalNumbers(msg.activityId)) return false;
break;
@@ -2087,6 +2088,28 @@ export function checkRouteParam(route: string, msg: any) {
if (!checkNaturalNumbers(msg.activityId, msg.count)) return false;
break;
}
case 'activity.midAutumnHandler.gameStart':
{
if (!checkNaturalNumbers(msg.activityId)) return false;
break;
}
case 'activity.midAutumnHandler.gameEnd':
{
if (!checkNaturalNumbers(msg.activityId)) return false;
if (!checkNaturalStrings(msg.gameCode)) return false;
if (!checkBoolean(msg.isSuccess)) return false;
break;
}
case 'activity.midAutumnHandler.buyCnt':
{
if (!checkNaturalNumbers(msg.activityId, msg.count)) return false;
break;
}
case 'activity.midAutumnHandler.gameSweep':
{
if (!checkNaturalNumbers(msg.activityId, msg.count)) return false;
break;
}
case 'activity.activityHandler.debugActivityMemory':
case 'activity.popUpShopHandler.debugPushPopUpShop':
case 'activity.popUpShopHandler.debugPushPopUpInterval':