init: initial commit for web_huangguo2_admin
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function videoinfoAdd(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/sync',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除视频
|
||||
export function videoinfoDel(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/del',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频列表
|
||||
export function videoinfoSearch(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/list',
|
||||
method: 'post',
|
||||
filterParam: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频
|
||||
export function videoinfoUpdate(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/update',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 视频转H265
|
||||
export function videoinfoTranscode(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/transcode',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改视频
|
||||
export function videoBindPreview(data) {
|
||||
return request({
|
||||
url: '/api/web/videoinfo/bindpre',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user