1
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user