feat: 首页更新

This commit is contained in:
2025-11-13 16:47:10 +08:00
parent 9ef9233797
commit 54bf84b19b
1244 changed files with 3507 additions and 951 deletions

View File

@@ -6,4 +6,3 @@ export { default as authService } from './authService';
export { default as userService } from './userService';
export { default as tenantService } from './tenantService';
export { default as gameService } from './gameService';

View File

@@ -3,14 +3,7 @@
* 用于开发和测试,模拟真实 API 响应
*/
import type {
Banner,
Notice,
GameCategory,
Game,
HighPrizeGame,
NavItem,
} from '@/types/home';
import type { Banner, Notice, GameCategory, Game, HighPrizeGame, NavItem } from '@/types/home';
/**
* Mock 轮播图数据
@@ -230,4 +223,3 @@ export const getMockGamesByCategory = (categoryId: string | number) => {
}
return mockGames.filter((game) => game.big_type === categoryId);
};

View File

@@ -24,7 +24,7 @@ class TenantService {
getPlatformData(params?: Record<string, any>): Promise<ApiResponse> {
const data = {
language: '0',
...params
...params,
};
return request.post('/v2', data, {
headers: {