Merge pull request 'zdg' (#294) from zdg into main

Reviewed-on: #294
This commit is contained in:
zhengdegang 2024-09-29 15:36:27 +08:00
commit 9b5a2ec88d
1 changed files with 2 additions and 2 deletions

View File

@ -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