实现收藏页面

This commit is contained in:
yuchenglong
2026-01-16 15:18:42 +08:00
parent d20080eaf3
commit 69e7a87de6
5 changed files with 378 additions and 3 deletions

View File

@@ -490,3 +490,22 @@ export interface UserProfile {
nickname: string;
avatar: string;
}
export interface FavoriteItem {
id: number;
type: string; // "match" | "team" | "player" | "league"
typeId: string;
matchId?: number;
teamId?: number;
playerId?: number;
match?: any;
team?: any;
player?: any;
notify: boolean;
createdAt: string;
}
export interface FavoriteListResponse {
list: FavoriteItem[];
total: number;
}