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
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 查询活动详情详细
|
|
|
|
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'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 新增活动详情
|
|
|
|
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'
|
|
|
|
})
|
|
|
|
}
|