feat(活动): 周基金

This commit is contained in:
luying
2023-03-23 19:14:46 +08:00
parent d22a94949c
commit 2deb1d5289
12 changed files with 349 additions and 4 deletions

View File

@@ -43,6 +43,7 @@ import { getGroupShopDataShow } from './groupShopService';
import { getBindPhoneDataShow } from './bindPhoneService';
import { getPlayerForgeDataShow } from './forgeService';
import { getPlayerMiniGameDataShow } from './miniGameService';
import { getWeeklyFundDataShow } from './weeklyFundService';
/**
* 获取活动数据
@@ -244,6 +245,11 @@ export async function getActivity(serverId: number, roleId: string, uid: number,
activityData = await getPlayerMiniGameDataShow(activityId, serverId, roleId);
break
}
case ACTIVITY_TYPE.WEEKLY_FUND:
{
activityData = await getWeeklyFundDataShow(activityId, serverId, roleId);
break
}
default: {
console.log('未知活动类型.........', activityType)
break;