feat(节日活动): 中秋活动

This commit is contained in:
luying
2023-08-15 17:52:11 +08:00
parent 4be52d3dfe
commit 7c3a98bb9d
11 changed files with 442 additions and 8 deletions

View File

@@ -50,6 +50,7 @@ import { getWebviewDataShow } from './webviewService';
import { getPlayerDragonBoatDataShow } from './dragonBoatService';
import { getPlayerEntertainDataShow } from './entertainService';
import { getPlayerQixiDataShow } from './qixiService';
import { getPlayerMidAutumnDataShow } from './midAutumnService';
/**
* 获取活动数据
@@ -286,6 +287,11 @@ export async function getActivity(serverId: number, roleId: string, uid: number,
activityData = await getPlayerQixiDataShow(activityId, serverId, roleId);
break;
}
case ACTIVITY_TYPE.MID_AUTUMN:
{
activityData = await getPlayerMidAutumnDataShow(activityId, serverId, roleId);
break;
}
default: {
console.log('未知活动类型.........', activityType)
break;