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.
30 lines
1.2 KiB
30 lines
1.2 KiB
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}`) |
|
} |
|
export const categoryList = (id) => { |
|
return post(`competition/competitionClassification/categoryList`) |
|
} |
|
export const explosiveList = (data) => { |
|
return post(`nakadai/explosiveRecommendation/explosiveList`, data) |
|
} |