change api
This commit is contained in:
parent
7825e02ef5
commit
95bfae8356
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue