直播记录排班

This commit is contained in:
xiezhijun
2021-05-13 19:59:34 +08:00
parent 47d94b75ae
commit 55b78c3840
10 changed files with 1436 additions and 5 deletions

View File

@ -0,0 +1,63 @@
import request from '@/utils/request'
// 查询直播排班列表
export function listLiveSchedul(query) {
return request({
url: '/custom/liveSchedul/list',
method: 'get',
params: query
})
}
// 查询直播排班详细
export function getLiveSchedul(id) {
return request({
url: '/custom/liveSchedul/' + id,
method: 'get'
})
}
// 新增直播排班
export function addLiveSchedul(data) {
return request({
url: '/custom/liveSchedul',
method: 'post',
data: data
})
}
// 修改直播排班
export function updateLiveSchedul(data) {
return request({
url: '/custom/liveSchedul',
method: 'put',
data: data
})
}
// 删除直播排班
export function delLiveSchedul(id) {
return request({
url: '/custom/liveSchedul/' + id,
method: 'delete'
})
}
// 导出直播排班
export function exportLiveSchedul(query) {
return request({
url: '/custom/liveSchedul/export',
method: 'get',
params: query
})
}
// 更新直播状态
export function updateLiveStatus(data) {
return request({
url: '/custom/liveSchedul/updateLiveStatus',
method: 'get',
params: data
})
}