✨ feat(活动): 月基金
This commit is contained in:
@@ -44,6 +44,7 @@ import { getBindPhoneDataShow } from './bindPhoneService';
|
||||
import { getPlayerForgeDataShow } from './forgeService';
|
||||
import { getPlayerMiniGameDataShow } from './miniGameService';
|
||||
import { getWeeklyFundDataShow } from './weeklyFundService';
|
||||
import { getMonthlyFundData } from './monthlyFundService';
|
||||
|
||||
/**
|
||||
* 获取活动数据
|
||||
@@ -250,6 +251,11 @@ export async function getActivity(serverId: number, roleId: string, uid: number,
|
||||
activityData = await getWeeklyFundDataShow(activityId, serverId, roleId);
|
||||
break
|
||||
}
|
||||
case ACTIVITY_TYPE.MONTHLY_FUND:
|
||||
{
|
||||
activityData = await getMonthlyFundData(activityId, serverId, roleId);
|
||||
break
|
||||
}
|
||||
default: {
|
||||
console.log('未知活动类型.........', activityType)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user