feat(活动): 七夕活动接口

This commit is contained in:
luying
2023-07-17 19:14:06 +08:00
parent 69abcb7c01
commit a726681d25
11 changed files with 399 additions and 1 deletions

View File

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