54 lines
970 B
JavaScript
54 lines
970 B
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'
|
|
})
|
|
}
|
|
|
|
// 新增活动详情
|
|
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
|
|
})
|
|
}
|