61 lines
1.1 KiB
JavaScript
61 lines
1.1 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询活动详情列表
|
|
export function listInfo(query) {
|
|
return request({
|
|
url: '/activityInfo/info/app/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询活动详情详细
|
|
export function getInfo(id) {
|
|
return request({
|
|
url: '/activityInfo/info/app/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
getInfoall
|
|
// 查询活动详情详细 所有额外信息
|
|
export function getInfoall(id) {
|
|
return request({
|
|
url: '/activityInfo/info/app/all/' + id,
|
|
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'
|
|
})
|
|
}
|
|
|
|
// 查询自己的活动详情列表
|
|
export function getmelistInfo(query) {
|
|
return request({
|
|
url: '/activityInfo/info/app/getmelistInfo',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|