Initial commit: web_hghl admin project

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 16:44:04 +08:00
co-authored by Claude Opus 4.7
commit 70744989c0
440 changed files with 116995 additions and 0 deletions
+99
View File
@@ -0,0 +1,99 @@
import request from '@/utils/request'
export function videoinfoAdd(data) {
return request({
url: '/api/web/videoinfo/sync',
method: 'post',
data
})
}
export function syncMediaFile(data) {
return request({
url: '/api/web/videoinfo/syncMediaFile',
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 setTags(data) {
return request({
url: '/api/web/videoinfo/tag/set',
method: 'post',
data
})
}
// 单/批量设置是否推荐
export function setRecommend(data) {
return request({
url: '/api/web/videoinfo/recommend/set',
method: 'post',
data
})
}
// 单/批量设置假点赞数(收藏数),随机区间 [likesMin, likesMax]
export function setFakeLikes(data) {
return request({
url: '/api/web/videoinfo/setFakeLikes',
method: 'post',
data
})
}
// 单/批量设置假观看次数,随机区间 [watchTimesMin, watchTimesMax]
export function setFakeWatchTimes(data) {
return request({
url: '/api/web/videoinfo/setFakeWatchTimes',
method: 'post',
data
})
}
export function setVideoHeat(data) {
return request({
url: '/api/web/videoinfo/heat/set',
method: 'post',
data
})
}