[1078] 支持语音对讲 中心广播模式
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user