[1078] 支持语音对讲 中心广播模式

This commit is contained in:
lin
2025-07-28 17:50:03 +08:00
parent 4fb04776f2
commit 4c97022c78
22 changed files with 316 additions and 241 deletions

View File

@@ -340,5 +340,25 @@ export function shooting(data) {
data: data
})
}
export function startTalk({ phoneNumber, channelId }) {
return request({
method: 'get',
url: '/api/jt1078/talk/start',
params: {
phoneNumber: phoneNumber,
channelId: channelId
}
})
}
export function stopTalk({ phoneNumber, channelId }) {
return request({
method: 'get',
url: '/api/jt1078/talk/stop',
params: {
phoneNumber: phoneNumber,
channelId: channelId
}
})
}