talk_appAmin/api/activityInfo/info.js

54 lines
970 B
JavaScript
Raw Normal View History

2024-06-05 16:57:58 +08:00
import request from '@/utils/request'
// 查询活动详情列表
export function listInfo(query) {
return request({
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'
})
}
2024-06-09 20:22:43 +08:00
// 查询自己的活动详情列表
export function getmelistInfo(query) {
return request({
url: '/activityInfo/info/app/getmelistInfo',
method: 'get',
params: query
})
}