no message
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getMatchList(data?: Record<string, any>) {
|
||||
return request.get({ url: '/match/lists', data: data }, { withToken: false })
|
||||
}
|
||||
|
||||
export function getMatchDetail(data: { id: number }) {
|
||||
return request.get({ url: '/match/detail', data: data }, { withToken: false })
|
||||
}
|
||||
|
||||
export function getSportTypes() {
|
||||
return request.get({ url: '/match/sportTypes' }, { withToken: false })
|
||||
}
|
||||
|
||||
export function getMatchLeagues(data?: { sport_type?: number }) {
|
||||
return request.get({ url: '/match/leagues', data: data }, { withToken: false })
|
||||
}
|
||||
|
||||
export function getMatchLiveText(data: { match_id: number; last_msg_id?: number }) {
|
||||
return request.get({ url: '/match/liveText', data: data }, { withToken: false })
|
||||
}
|
||||
|
||||
export function getMatchLineup(data: { match_id: number }) {
|
||||
return request.get({ url: '/match/lineup', data: data }, { withToken: false })
|
||||
}
|
||||
|
||||
export function getWorldCupStandings() {
|
||||
return request.get({ url: '/match/worldCupStandings' }, { withToken: false })
|
||||
}
|
||||
|
||||
export function getWorldCupRankings(data: { type: 'goals' | 'assists' }) {
|
||||
return request.get({ url: '/match/worldCupRankings', data }, { withToken: false })
|
||||
}
|
||||
|
||||
export function getWorldCupSchedule() {
|
||||
return request.get({ url: '/match/worldCupSchedule' }, { withToken: false })
|
||||
}
|
||||
Reference in New Issue
Block a user