From 17e3ee62df2c9397419baedb128e5b164dface5a Mon Sep 17 00:00:00 2001 From: zdg Date: Sun, 29 Sep 2024 15:35:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/prepare/container/class-start.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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加密 -- 2.44.0.windows.1