change api

This commit is contained in:
zhangtao 2022-10-26 18:20:52 +08:00
parent 7825e02ef5
commit 95bfae8356
1 changed files with 3 additions and 3 deletions

View File

@ -475,7 +475,7 @@ export default {
* @return {*} * @return {*}
*/ */
const handleSig = async() => { const handleSig = async() => {
const res = await axios.get(`https://rtc.dev.t-aaron.com/api/tencentCloudRtc/genUserSig/${data.userId}`) const res = await axios.get(`/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
} }
@ -486,7 +486,7 @@ export default {
roomUserId: data.taskId, roomUserId: data.taskId,
status status
} }
await axios.put(`https://rtc.dev.t-aaron.com/api/meeting/updatePeopleStatus`, params) await axios.put(`/api/meeting/updatePeopleStatus`, params)
} }
/** /**
@ -500,7 +500,7 @@ export default {
roomUserId: data.taskId, roomUserId: data.taskId,
heartbeatTime: formatDateTime(time) heartbeatTime: formatDateTime(time)
} }
await axios.put(`https://rtc.dev.t-aaron.com/api/meeting/heartbeatTime`, params) await axios.put(`/api/meeting/heartbeatTime`, params)
} }
/** /**