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

* @return {*} * @return {*}
*/ */
const handleSig = async() => { 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) { if (res.data.code === 0) {
data.userSig = res.data.data.userSig data.userSig = res.data.data.userSig
} }
roomUserId: data.taskId, roomUserId: data.taskId,
status status
} }
await axios.put(`/api/meeting/updatePeopleStatus`, params)
await axios.put(`/hhz/api/meeting/updatePeopleStatus`, params)
} }


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

Loading…
Cancel
Save