diff --git a/src/renderer/src/views/prepare/container/class-start.vue b/src/renderer/src/views/prepare/container/class-start.vue index 3d64129..b4c6d7c 100644 --- a/src/renderer/src/views/prepare/container/class-start.vue +++ b/src/renderer/src/views/prepare/container/class-start.vue @@ -290,11 +290,11 @@ const getQrUrl = async() => { // teacherForm.form.qrUrl = baseUrl + qrCodeUrl // baseUrl = 'https://localhost:7860' // token跳转 - const url = `/teaching/classteachingonmobile?classcourseid=${id}` // 跳转移动端-上课 + let url = `teaching/classteachingonmobile?classcourseid=${id}` // 跳转移动端-上课 let qrCodeUrl = '' // 移动端-二维码地址 try { // 走后端缓存url - const res = await Http_api.toLink.setLink(url) // 设置链接-缓存 + const res = await Http_api.toLink.setLink('/' + url) // 设置链接-缓存 if (res.code == 200) { const redisKey = res.data const base64Key = CryptoJS.enc.Utf8.parse(redisKey).toString(CryptoJS.enc.Base64) // base64加密