Merge branch 'main' of git.waypeak.work:martial/martial-web

This commit is contained in:
2025-12-26 11:06:52 +08:00
10 changed files with 3121 additions and 211 deletions

View File

@@ -183,3 +183,16 @@ export const saveDispatch = (data) => {
data
})
}
/**
* 导出赛程表
* @param {Number} competitionId - 赛事ID
*/
export const exportSchedule = (competitionId) => {
return request({
url: '/martial/export/schedule',
method: 'get',
params: { competitionId },
responseType: 'blob'
})
}