fix: load hot league matches for all filter
This commit is contained in:
+10
-1
@@ -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 })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user