feat(37需求): 修改返利逻辑

This commit is contained in:
luying
2023-04-07 17:57:15 +08:00
parent b84e89dff0
commit f0a5809104
10 changed files with 275 additions and 46 deletions

View File

@@ -488,6 +488,11 @@ export function checkRouteParam(route: string, msg: any) {
if(!checkNaturalNumbers(msg.activityId, msg.pageIndex, msg.dayIndex)) return false;
break;
}
case 'activity.rebateHandler.receiveReward':
{
if(!checkNaturalNumbers(msg.activityId, msg.day)) return false;
break;
}
case "battle.barrageHandler.getBarrageList":
{
if(!checkNaturalStrings(msg.rid)) return false;
@@ -2085,6 +2090,7 @@ export function checkRouteParam(route: string, msg: any) {
case "chat.chatHandler.debugPushMessage":
case "activity.monthlyFundHandler.debugSendMonthlyFundReward":
case "activity.bindPhoneHandler.debugSetGiftCodeStatus":
case 'activity.rebateHandler.debugSetRebate':
{
if (msg.magicWord !== DEBUG_MAGIC_WORD || !isDevelopEnv()) return false;