|
|
@@ -1,15 +1,15 @@
|
|
1
|
1
|
import axios from "@/utils/request";
|
|
2
|
|
-let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
|
3
|
|
-// let baseUrl = 'http://121.40.189.20:8001'
|
|
|
2
|
+// let baseUrl = 'https://api.xayunmei.com/zhongcaiapi';
|
|
|
3
|
+let baseUrl = 'http://121.40.189.20:6001'
|
|
4
|
4
|
// 获取usersig
|
|
5
|
5
|
export function getUsersig(userId) {
|
|
6
|
|
- return axios.get(`${baseUrl}/caseApplication/generateUserSign?userId=${userId}`);
|
|
|
6
|
+ return axios.get(`${baseUrl}/video/generateUserSign?userId=${userId}`);
|
|
7
|
7
|
}
|
|
8
|
8
|
// 获取房间号
|
|
9
|
9
|
export function getRoomId(caseId) {
|
|
10
|
|
- return axios.get(`${baseUrl}/caseApplication/createRoomId?caseId=${caseId}`);
|
|
|
10
|
+ return axios.get(`${baseUrl}/video/createRoomId?caseId=${caseId}`);
|
|
11
|
11
|
}
|
|
12
|
12
|
// 根据案件id查询相关信息
|
|
13
|
13
|
export function reserveConferenceList(caseId) {
|
|
14
|
|
- return axios.get(`${baseUrl}/caseApplication/reserveConferenceList?caseId=${caseId}`);
|
|
|
14
|
+ return axios.get(`${baseUrl}/video/reserveConferenceList?caseId=${caseId}`);
|
|
15
|
15
|
}
|