This commit is contained in:
张成
2025-10-09 23:13:42 +08:00
parent f91206702b
commit 1d3eb75c64
28 changed files with 118 additions and 832 deletions

View File

@@ -1,6 +1,6 @@
import http from '@/libs/http'
export default {
const gameParticipantsServer = {
// 获取球局参与者列表
getGameParticipantsList: (params) => {
return window.framework.http.post('/game_participants/page', params)
@@ -45,4 +45,14 @@ export default {
updateParticipantStatus: (params) => {
return window.framework.http.post('/game_participants/update_status', params)
}
}
}
// 添加简写方法名别名,保持向后兼容
gameParticipantsServer.page = gameParticipantsServer.getGameParticipantsList
gameParticipantsServer.all = gameParticipantsServer.getAllGameParticipants
gameParticipantsServer.add = gameParticipantsServer.addGameParticipant
gameParticipantsServer.edit = gameParticipantsServer.updateGameParticipant
gameParticipantsServer.del = gameParticipantsServer.deleteGameParticipant
gameParticipantsServer.exportCsv = gameParticipantsServer.exportGameParticipants
export default gameParticipantsServer