视频封面选取功能

This commit is contained in:
xiezhijun
2021-06-17 14:57:23 +08:00
parent 1151507eb6
commit a731b57bdc
8 changed files with 371 additions and 61 deletions

View File

@ -78,3 +78,23 @@ export function getVideoPlayUrlById(id) {
})
}
// 根据视频videoId提交视频截图请求
export function submitVideoSnapshot(id) {
return request({
url: '/custom/nutritionalVideo/submitVideoSnapshot',
method: 'get',
params: {'videoId': id}
})
}
//根据视频videoId获取视频截图
export function getVideoSnapshot(id) {
return request({
url: '/custom/nutritionalVideo/getVideoSnapshot',
method: 'get',
params: {'videoId': id}
})
}