zdg #294

Merged
zhengdegang merged 2 commits from zdg into main 2024-09-29 15:36:29 +08:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 17e3ee62df - Show all commits

View File

@ -290,11 +290,11 @@ const getQrUrl = async() => {
// teacherForm.form.qrUrl = baseUrl + qrCodeUrl // teacherForm.form.qrUrl = baseUrl + qrCodeUrl
// baseUrl = 'https://localhost:7860' // baseUrl = 'https://localhost:7860'
// token // token
const url = `/teaching/classteachingonmobile?classcourseid=${id}` // - let url = `teaching/classteachingonmobile?classcourseid=${id}` // -
let qrCodeUrl = '' // - let qrCodeUrl = '' // -
try { try {
// url // url
const res = await Http_api.toLink.setLink(url) // - const res = await Http_api.toLink.setLink('/' + url) // -
if (res.code == 200) { if (res.code == 200) {
const redisKey = res.data const redisKey = res.data
const base64Key = CryptoJS.enc.Utf8.parse(redisKey).toString(CryptoJS.enc.Base64) // base64 const base64Key = CryptoJS.enc.Utf8.parse(redisKey).toString(CryptoJS.enc.Base64) // base64