基础设施视频接口调换
This commit is contained in:
parent
291b65d03f
commit
ef980d77c3
|
@ -68,7 +68,7 @@ export function selectByChannelCode(params) {
|
||||||
}
|
}
|
||||||
export function getStreamByChannelCode(params) {
|
export function getStreamByChannelCode(params) {
|
||||||
return request({
|
return request({
|
||||||
url: `/api/project/file`,
|
url: `/resource/hls/getHls`,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params,
|
params,
|
||||||
})
|
})
|
||||||
|
|
|
@ -234,7 +234,7 @@
|
||||||
const openVideo = (id) => {
|
const openVideo = (id) => {
|
||||||
console.log('打开视频', id)
|
console.log('打开视频', id)
|
||||||
const param = {
|
const param = {
|
||||||
channelCode: id,
|
key: id,
|
||||||
}
|
}
|
||||||
getStreamByChannelCode(param).then((res) => {
|
getStreamByChannelCode(param).then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
|
Loading…
Reference in New Issue