✨ feat(活动): 七夕活动接口

This commit is contained in:
luying
2023-07-17 19:14:06 +08:00
parent 69abcb7c01
commit a726681d25
11 changed files with 399 additions and 1 deletions
+17
View File
@@ -129,6 +129,7 @@ export function checkRouteParam(route: string, msg: any) {
case 'activity.bindPhoneHandler.receiveGiftCode':
case 'activity.bindPhoneHandler.skipOutSide':
case 'activity.dragonBoatHandler.getData':
case 'activity.qixiHandler.getData':
{
if (!checkNaturalNumbers(msg.activityId)) return false;
break;
@@ -2052,6 +2053,22 @@ export function checkRouteParam(route: string, msg: any) {
if (!checkNaturalNumbers(msg.activityId, msg.count)) return false;
break;
}
case 'activity.qixiHandler.gameStart':
{
if (!checkNaturalNumbers(msg.activityId, msg.progress)) return false;
break;
}
case 'activity.qixiHandler.gameEnd':
{
if (!checkNaturalNumbers(msg.activityId, msg.progress, msg.addProgress)) return false;
if (!checkNaturalStrings(msg.gameCode)) return false;
break;
}
case 'activity.qixiHandler.buyCnt':
{
if (!checkNaturalNumbers(msg.activityId, msg.count)) return false;
break;
}
case 'activity.activityHandler.debugActivityMemory':
case 'activity.popUpShopHandler.debugPushPopUpShop':
case 'activity.popUpShopHandler.debugPushPopUpInterval':