v1.0.5 - 批量添加比赛支持已完成比赛和比分

This commit is contained in:
2026-06-28 16:25:10 +08:00
parent a34c79fe0a
commit fb17d60101
2 changed files with 12 additions and 6 deletions

View File

@@ -445,7 +445,9 @@ async function batchAddMatches() {
away_team: parts[2],
match_time: parts[3] || null,
round_name: parts[4] || defaultRound || '小组赛',
status: 'upcoming'
status: parts[5] || 'upcoming',
home_score: (parts[6] && parts[6] !== '-') ? parseInt(parts[6]) : null,
away_score: (parts[7] && parts[7] !== '-') ? parseInt(parts[7]) : null
};
try {