feat(重阳集会): 新增重阳集会活动

This commit is contained in:
zhangxk
2023-09-12 19:16:38 +08:00
parent affbaf78df
commit 96af376c4f
10 changed files with 356 additions and 2 deletions

View File

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