24 lines
844 B
JavaScript
24 lines
844 B
JavaScript
import axios from "@/utils/request";
|
|
let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
|
// let baseUrl = 'http://121.40.189.20:8001'
|
|
// 开始云端录制
|
|
export function startVideo(data) {
|
|
return axios.post(`${baseUrl}/video/openCloudRecording`,data);
|
|
}
|
|
// 结束云端录制
|
|
export function stopVideo(data) {
|
|
return axios.post(`${baseUrl}/video/closeDeleteCloudRecording?taskId=${data}`);
|
|
}
|
|
// 解散房间
|
|
export function destructionRoom(data) {
|
|
return axios.post(`${baseUrl}/video/dissolveRoom`,data);
|
|
}
|
|
// 根据html字符串转pdf并且和案件关联
|
|
export function htmlToPDF(data) {
|
|
return axios.post(`${baseUrl}/video/htmlToPDF`,data);
|
|
}
|
|
// 根据userId查询该用户是否是秘书
|
|
export function secretaryRoleByUserId(userId) {
|
|
return axios.get(`${baseUrl}/video/secretaryRoleByUserId?userId=${userId}`);
|
|
}
|