You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
966 B
24 lines
966 B
import request from '@/apis/request.js' |
|
const { get, post } = request |
|
|
|
export const postLoginActivity = (data) => { |
|
return post('competition/competition/management/postLoginActivity', data) |
|
} |
|
export const getCompetition = (id) => { |
|
return post(`competition/competition/management/getCompetition?competitionId=${id}`) |
|
} |
|
export const individualEventRegistration = (data) => { |
|
return post(`competition/competition/registration/individualEventRegistration`, data) |
|
} |
|
export const getCurrentTime = () => { |
|
return get(`competition/competition/management/getCurrentTime`) |
|
} |
|
export const queryRegistrationByCondition = (data) => { |
|
return post(`competition/competition/registration/queryRegistrationByCondition`, data) |
|
} |
|
export const competitionUserDel = (data) => { |
|
return post(`competition/competitionUserDel/save`, data) |
|
} |
|
export const cancelRegistration = (id) => { |
|
return post(`competition/competition/registration/cancelRegistration?competitionId=${id}`) |
|
} |