weverse-ui/src/api/system/perform.js

69 lines
1.1 KiB
JavaScript
Raw Normal View History

2025-02-10 06:06:16 +00:00
import request from '@/utils/request'
// 查询演出列表
export function listPerform(query) {
return request({
url: '/system/perform/list',
method: 'get',
params: query
})
}
// 查询演出列表
export function getAll() {
return request({
url: '/system/perform/all',
method: 'get'
})
}
// 查询演出详细
export function getPerform(id) {
return request({
url: '/system/perform/' + id,
method: 'get'
})
}
2025-02-12 02:30:36 +00:00
// 查询演出详细
export function getNormalPerform(id) {
return request({
url: '/system/perform/normal/' + id,
method: 'get'
})
}
2025-03-04 14:37:53 +00:00
// 查询演出详细
export function refresh(id) {
return request({
url: '/system/perform/refresh/' + id,
method: 'get'
})
}
2025-02-10 06:06:16 +00:00
// 新增演出
export function addPerform(data) {
return request({
url: '/system/perform',
method: 'post',
data: data
})
}
// 修改演出
export function updatePerform(data) {
return request({
url: '/system/perform',
method: 'put',
data: data
})
}
// 删除演出
export function delPerform(id) {
return request({
url: '/system/perform/' + id,
method: 'delete'
})
}