2024-06-05 16:57:58 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 查询活动详情列表
|
|
|
|
export function listInfo(query) {
|
|
|
|
return request({
|
2024-06-08 07:41:30 +08:00
|
|
|
url: '/activityInfo/info/app/list',
|
2024-06-05 16:57:58 +08:00
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2024-06-13 23:15:52 +08:00
|
|
|
// 查询活动草稿详情列表
|
|
|
|
export function draftlist(query) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/info/app/draftlist',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
2024-06-05 16:57:58 +08:00
|
|
|
// 查询活动详情详细
|
|
|
|
export function getInfo(id) {
|
|
|
|
return request({
|
2024-06-05 19:52:43 +08:00
|
|
|
url: '/activityInfo/info/app/' + id,
|
2024-06-05 16:57:58 +08:00
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
2024-06-10 16:12:11 +08:00
|
|
|
getInfoall
|
|
|
|
// 查询活动详情详细 所有额外信息
|
|
|
|
export function getInfoall(id) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/info/app/all/' + id,
|
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
2024-06-05 16:57:58 +08:00
|
|
|
// 新增活动详情
|
|
|
|
export function addInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/info',
|
|
|
|
method: 'post',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 修改活动详情
|
|
|
|
export function updateInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/info',
|
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 删除活动详情
|
|
|
|
export function delInfo(id) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/info/' + id,
|
|
|
|
method: 'delete'
|
|
|
|
})
|
|
|
|
}
|
2024-06-09 20:22:43 +08:00
|
|
|
|
|
|
|
// 查询自己的活动详情列表
|
|
|
|
export function getmelistInfo(query) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/info/app/getmelistInfo',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
2024-06-30 10:51:17 +08:00
|
|
|
// 查询所有的的活动审核列表
|
|
|
|
export function getAuditlistInfo(query) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/info/app/getAuditlistInfo',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 查询审核状态数量
|
|
|
|
export function getCount(data) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/info/app/getCount',
|
|
|
|
method: 'post',
|
|
|
|
data: data
|
|
|
|
})
|
2024-06-30 11:33:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// 审核活动
|
|
|
|
export function updateAuditInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/activityInfo/info/app/updateAuditInfo',
|
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|