添加比赛卡片的联赛键,优化实时比分请求参数,调整比分显示样式

This commit is contained in:
yuchenglong
2026-01-19 16:06:20 +08:00
parent e766a833f6
commit 1d1e774011
6 changed files with 25 additions and 8 deletions

View File

@@ -207,6 +207,11 @@ export const fetchLiveScore = async (
leagueId?: number,
timezone?: string
): Promise<LiveScoreMatch[]> => {
console.log("Fetching live scores with params:", {
sportId,
leagueId,
timezone,
});
try {
const params: { sport_id: number; league_id?: number; timezone?: string } =
{