基础设施视频接口调换

This commit is contained in:
851673013@qq.com 2022-07-27 14:19:51 +08:00
parent 291b65d03f
commit ef980d77c3
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ export function selectByChannelCode(params) {
}
export function getStreamByChannelCode(params) {
return request({
url: `/api/project/file`,
url: `/resource/hls/getHls`,
method: 'get',
params,
})

View File

@ -234,7 +234,7 @@
const openVideo = (id) => {
console.log('打开视频', id)
const param = {
channelCode: id,
key: id,
}
getStreamByChannelCode(param).then((res) => {
console.log(res)