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

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 { srcappid, appid } = require('../util');
// 二维码 key 生成接口
module.exports = (params, useAxios) => {
return useAxios({
baseURL: 'https://login-user.kugou.com',
url: '/v2/qrcode',
method: 'GET',
params: {
appid: params?.type === 'web' ? 1014 : 1001,
type: 1,
plat: 4,
qrcode_txt: `https://h5.kugou.com/apps/loginQRCode/html/index.html?appid=${appid}&`,
srcappid,
},
encryptType: 'web',
cookie: params?.cookie || {},
});
};