✨ feat(节日活动): 添加划龙舟活动
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user