完成网络音乐、工具页面与安装器体验升级
This commit is contained in:
@@ -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 || {},
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user