仲裁视频会议H5

room.js 844B

1234567891011121314151617181920212223
  1. import axios from "@/utils/request";
  2. let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
  3. // let baseUrl = 'http://121.40.189.20:8001'
  4. // 开始云端录制
  5. export function startVideo(data) {
  6. return axios.post(`${baseUrl}/video/openCloudRecording`,data);
  7. }
  8. // 结束云端录制
  9. export function stopVideo(data) {
  10. return axios.post(`${baseUrl}/video/closeDeleteCloudRecording?taskId=${data}`);
  11. }
  12. // 解散房间
  13. export function destructionRoom(data) {
  14. return axios.post(`${baseUrl}/video/dissolveRoom`,data);
  15. }
  16. // 根据html字符串转pdf并且和案件关联
  17. export function htmlToPDF(data) {
  18. return axios.post(`${baseUrl}/video/htmlToPDF`,data);
  19. }
  20. // 根据userId查询该用户是否是秘书
  21. export function secretaryRoleByUserId(userId) {
  22. return axios.get(`${baseUrl}/video/secretaryRoleByUserId?userId=${userId}`);
  23. }