2024-06-05 22:34:08 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 查询活动参与表列表
|
|
|
|
export function listActivityTakeInfo(query) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo/list',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 查询活动参与表详细
|
|
|
|
export function getActivityTakeInfo(id) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo/' + id,
|
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 查询活动参与表详细
|
|
|
|
export function getTakePartsInfoByacId(id) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo/ByacId/' + id,
|
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 新增活动参与表
|
|
|
|
export function addActivityTakeInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo',
|
|
|
|
method: 'post',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 修改活动参与表
|
|
|
|
export function updateActivityTakeInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo',
|
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 删除活动参与表
|
|
|
|
export function delActivityTakeInfo(id) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo/' + id,
|
|
|
|
method: 'delete'
|
|
|
|
})
|
|
|
|
}
|
2024-06-06 21:14:03 +08:00
|
|
|
|
|
|
|
// 报名
|
|
|
|
export function gotoSing1(id) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo/goSing1/' + id,
|
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 取消报名
|
|
|
|
export function gotoSing2(id) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo/goSing2/' + id,
|
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 签到
|
|
|
|
export function gotoQrcode(data) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo/goQrcode',
|
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
2024-06-09 20:22:43 +08:00
|
|
|
|
|
|
|
//查询用户所有活动参与的详细信息
|
|
|
|
// 报名
|
|
|
|
export function getUserAcInfo() {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/activityTakeInfo/getUserAcInfo',
|
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|