commit
9b5a2ec88d
|
@ -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加密
|
||||
|
|
Loading…
Reference in New Issue