基础设施视频接口调换
This commit is contained in:
parent
291b65d03f
commit
ef980d77c3
|
@ -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,
|
||||
})
|
||||
|
|
|
@ -234,7 +234,7 @@
|
|||
const openVideo = (id) => {
|
||||
console.log('打开视频', id)
|
||||
const param = {
|
||||
channelCode: id,
|
||||
key: id,
|
||||
}
|
||||
getStreamByChannelCode(param).then((res) => {
|
||||
console.log(res)
|
||||
|
|
Loading…
Reference in New Issue