完成网络音乐、工具页面与安装器体验升级

This commit is contained in:
2026-08-18 13:54:33 +08:00
parent 337390f53e
commit 149c28082d
1082 changed files with 26442 additions and 162838 deletions
+19
View File
@@ -0,0 +1,19 @@
const qrcode = require('qrcode');
// 酷狗二维码生成
module.exports = (params, useAxios) => {
return new Promise(async (resolve) => {
const url = `https://h5.kugou.com/apps/loginQRCode/html/index.html?qrcode=${params.key}`
return resolve({
code: 200,
status: 200,
body: {
code: 200,
data: {
url: url,
base64: params?.qrimg ? await qrcode.toDataURL(url) : '',
},
},
})
})
}