feat(节日活动): 宴请百家

This commit is contained in:
luying
2023-06-06 15:54:52 +08:00
parent 4f9fd8e4c1
commit ffdba2fb91
8 changed files with 404 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ import { getMonthlyFundData } from './monthlyFundService';
import { getPlayerRebateDataShow } from './rebateService';
import { getWebviewDataShow } from './webviewService';
import { getPlayerDragonBoatDataShow } from './dragonBoatService';
import { getPlayerEntertainDataShow } from './entertainService';
/**
* 获取活动数据
@@ -274,6 +275,11 @@ export async function getActivity(serverId: number, roleId: string, uid: number,
activityData = await getPlayerDragonBoatDataShow(activityId, serverId, roleId);
break
}
case ACTIVITY_TYPE.ENTERTAIN:
{
activityData = await getPlayerEntertainDataShow(activityId, serverId, roleId);
break
}
default: {
console.log('未知活动类型.........', activityType)
break;