[1078] 适配新UI

This commit is contained in:
648540858
2025-05-14 15:48:35 +08:00
parent 1a7f517c5a
commit 68f7d3ef74
5 changed files with 321 additions and 282 deletions

View File

@@ -64,3 +64,27 @@ export function queryChannels(params) {
})
}
export function play(params) {
const { phoneNumber, channelId, type } = params
return request({
method: 'get',
url: '/api/jt1078/live/start',
params: {
phoneNumber: phoneNumber,
channelId: channelId,
type: type
}
})
}
export function stopPlay(params) {
const { phoneNumber, channelId } = params
return request({
method: 'get',
url: '/api/jt1078/live/stop',
params: {
phoneNumber: phoneNumber,
channelId: channelId
}
})
}