✨ feat(节日活动): 添加划龙舟活动

This commit is contained in:
luying
2023-05-22 21:08:28 +08:00
parent 8e53bff441
commit b158099101
10 changed files with 379 additions and 6 deletions
@@ -47,6 +47,7 @@ import { getWeeklyFundDataShow } from './weeklyFundService';
import { getMonthlyFundData } from './monthlyFundService';
import { getPlayerRebateDataShow } from './rebateService';
import { getWebviewDataShow } from './webviewService';
import { getPlayerDragonBoatDataShow } from './dragonBoatService';
/**
* 获取活动数据
@@ -268,6 +269,11 @@ export async function getActivity(serverId: number, roleId: string, uid: number,
activityData = await getWebviewDataShow(activityId, serverId, roleId);
break
}
case ACTIVITY_TYPE.DRAGON_BOAT:
{
activityData = await getPlayerDragonBoatDataShow(activityId, serverId, roleId);
break
}
default: {
console.log('未知活动类型.........', activityType)
break;