feat(37需求): 打开webview的页面

This commit is contained in:
luying
2023-04-12 20:47:35 +08:00
parent 6a4c9c5ae9
commit d13e623084
9 changed files with 91 additions and 11 deletions

View File

@@ -46,6 +46,7 @@ import { getPlayerMiniGameDataShow } from './miniGameService';
import { getWeeklyFundDataShow } from './weeklyFundService';
import { getMonthlyFundData } from './monthlyFundService';
import { getPlayerRebateDataShow } from './rebateService';
import { getWebviewDataShow } from './webviewService';
/**
* 获取活动数据
@@ -262,6 +263,11 @@ export async function getActivity(serverId: number, roleId: string, uid: number,
activityData = await getPlayerRebateDataShow(activityId, serverId, roleId, uid);
break
}
case ACTIVITY_TYPE.WEBVIEW:
{
activityData = await getWebviewDataShow(activityId, serverId, roleId);
break
}
default: {
console.log('未知活动类型.........', activityType)
break;