Browse Source

change axios

master
zhangtao 1 year ago
parent
commit
7874ebd377
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/views/home/index.vue

+ 3
- 3
src/views/home/index.vue View File

@@ -473,7 +473,7 @@ export default {
* @return {*}
*/
const handleSig = async() => {
const res = await axios.get(`/api/tencentCloudRtc/genUserSig/${data.userId}`)
const res = await axios.get(`/hhz/api/tencentCloudRtc/genUserSig/${data.userId}`)
if (res.data.code === 0) {
data.userSig = res.data.data.userSig
}
@@ -484,7 +484,7 @@ export default {
roomUserId: data.taskId,
status
}
await axios.put(`/api/meeting/updatePeopleStatus`, params)
await axios.put(`/hhz/api/meeting/updatePeopleStatus`, params)
}

/**
@@ -498,7 +498,7 @@ export default {
roomUserId: data.taskId,
heartbeatTime: formatDateTime(time)
}
await axios.put(`/api/meeting/heartbeatTime`, params)
await axios.put(`/hhz/api/meeting/heartbeatTime`, params)
}
/**
* @description: 翻转摄像头

Loading…
Cancel
Save