fix: load hot league matches for all filter

This commit is contained in:
hajimi
2026-08-03 02:18:32 +08:00
parent a7c4e3f673
commit 9ad49bad57
3 changed files with 36 additions and 18 deletions
+10 -1
View File
@@ -128,7 +128,16 @@ export interface WorldCupOddsMatchItem {
export type MatchLiveCardItem = WorldCupLiveCardItem
export type MatchOddsMatchItem = WorldCupOddsMatchItem
export function getMatchList(data?: Record<string, any>) {
export interface MatchListParams {
sport_type?: number
league_name?: string
hot_only?: 0 | 1
ended_page?: number
ended_page_size?: number
ended_only?: 0 | 1
}
export function getMatchList(data?: MatchListParams) {
return request.get({ url: '/match/lists', data: data }, { withToken: false })
}