feat(活动): 辜月集会 fa97e8d45

This commit is contained in:
luying
2023-09-20 13:37:55 +08:00
parent 6a70896648
commit afbc135f6f
10 changed files with 392 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ import { getPlayerQixiDataShow } from './qixiService';
import { getPlayerMidAutumnDataShow } from './midAutumnService';
import { getPlayerAuthorGachaDataShow } from './authorGachaService';
import { getPlayerChongYangDataShow } from './chongyangService';
import { getPlayerNovemberDataShow } from './novemberServices';
/**
* 获取活动数据
@@ -308,6 +309,11 @@ export async function getActivity(serverId: number, roleId: string, uid: number,
activityData = await getPlayerChongYangDataShow(activityId, serverId, roleId);
break;
}
case ACTIVITY_TYPE.NOVEMBER:
{
activityData = await getPlayerNovemberDataShow(activityId, serverId, roleId);
break;
}
default: {
console.log('未知活动类型.........', activityType)
break;