视频会议解决无法判断仲裁还是调解bug
This commit is contained in:
+33
-7
@@ -1,23 +1,49 @@
|
||||
import axios from "@/utils/request";
|
||||
// let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
let baseUrl = 'http://121.40.189.20:6001'
|
||||
let baseUrlZC = 'https://api.xayunmei.com/zhongcaiapi';
|
||||
let baseUrl = 'https://api.xayunmei.com/tiaojieapitest';
|
||||
// let baseUrl = 'http://121.40.189.20:6001';
|
||||
// 开始云端录制
|
||||
export function startVideo(data) {
|
||||
return axios.post(`${baseUrl}/video/openCloudRecording`,data);
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.post(`${baseUrl}/video/openCloudRecording`, data);
|
||||
} else {
|
||||
return axios.post(`${baseUrlZC}/video/openCloudRecording`, data);
|
||||
}
|
||||
}
|
||||
// 结束云端录制
|
||||
export function stopVideo(data) {
|
||||
return axios.post(`${baseUrl}/video/closeDeleteCloudRecording?taskId=${data}`);
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.post(`${baseUrl}/video/closeDeleteCloudRecording?taskId=${data}`);
|
||||
} else {
|
||||
return axios.post(`${baseUrlZC}/video/closeDeleteCloudRecording?taskId=${data}`);
|
||||
}
|
||||
}
|
||||
// 解散房间
|
||||
export function destructionRoom(data) {
|
||||
return axios.post(`${baseUrl}/video/dissolveRoom`,data);
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.post(`${baseUrl}/video/dissolveRoom`, data);
|
||||
} else {
|
||||
return axios.post(`${baseUrlZC}/video/dissolveRoom`, data);
|
||||
}
|
||||
}
|
||||
// 根据html字符串转pdf并且和案件关联
|
||||
export function htmlToPDF(data) {
|
||||
return axios.post(`${baseUrl}/video/htmlToPDF`,data);
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.post(`${baseUrl}/video/htmlToPDF`, data);
|
||||
} else {
|
||||
return axios.post(`${baseUrlZC}/video/htmlToPDF`, data);
|
||||
}
|
||||
}
|
||||
// 根据userId查询该用户是否是秘书
|
||||
export function secretaryRoleByUserId(userId) {
|
||||
return axios.get(`${baseUrl}/video/secretaryRoleByUserId?userId=${userId}`);
|
||||
let appType = sessionStorage.getItem('type');
|
||||
if (appType == 'tiaojie') {
|
||||
return axios.get(`${baseUrl}/video/secretaryRoleByUserId?userId=${userId}`);
|
||||
} else {
|
||||
return axios.get(`${baseUrlZC}/video/secretaryRoleByUserId?userId=${userId}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user