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

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
+28
View File
@@ -0,0 +1,28 @@
const { cryptoRSAEncrypt } = require('../util');
/**
* 获取用户关注的歌手
*/
module.exports = (params, useAxios) => {
const token = params?.token || params?.cookie?.token || '';
const userid = params?.userid || params?.cookie?.userid || '0';
const dateTime = Math.floor(Date.now() / 1000);
const dataMap = {
merge: 2,
need_iden_type: 1,
ext_params: 'k_pic,jumptype,singerid,score',
userid,
type: 0,
id_type: 0,
p: cryptoRSAEncrypt({ clienttime: dateTime, token }).toUpperCase(),
};
return useAxios({
url: '/v4/follow_list',
encryptType: 'android',
method: 'POST',
data: dataMap,
params: { plat: 1 },
cookie: params?.cookie || {},
headers: { 'x-router': 'relationuser.kugou.com' },
});
};